diff --git a/crates/pubkey/src/lib.rs b/crates/pubkey/src/lib.rs index 09c4b8c9..907b1049 100644 --- a/crates/pubkey/src/lib.rs +++ b/crates/pubkey/src/lib.rs @@ -136,6 +136,9 @@ impl Pubkey { /// Returns: /// Pubkey: The derived program address. /// + /// Raises: + /// PubkeyError: if the resulting address is invalid. + /// /// Example: /// /// >>> from solders.pubkey import Pubkey