Skip to content

Commit

Permalink
Add documentation for PocketOfferError
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgranhao committed Oct 16, 2023
1 parent 97876da commit 7f1b9fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ pub enum OfferStatus {
SETTLED,
}

/// An error associated with a specific PocketOffer. Can be temporary, indicating there was an issue
/// with a previous withdrawal attempt and it can be retried, or it can be permanent.
///
/// More information on each specific error can be found on
/// [Pocket's Documentation Page](https://pocketbitcoin.com/developers/docs/rest/v1/webhooks).
pub type PocketOfferError = TopupError;

#[derive(PartialEq, Eq, Debug, Clone)]
Expand Down

0 comments on commit 7f1b9fd

Please sign in to comment.