Skip to content

Commit 242ce1e

Browse files
committed
Add documentation for PocketOfferError
1 parent 97876da commit 242ce1e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@ pub enum OfferStatus {
207207
SETTLED,
208208
}
209209

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

212217
#[derive(PartialEq, Eq, Debug, Clone)]

0 commit comments

Comments
 (0)