Skip to content

Commit

Permalink
add error info to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Oct 2, 2024
1 parent c45b57a commit 8553116
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/pubkey/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8553116

Please sign in to comment.