pub type PocketOfferError = TopupError;
Expand description

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.

Aliased Type§

enum PocketOfferError {
    TemporaryFailure {
        code: TemporaryFailureCode,
    },
    PermanentFailure {
        code: PermanentFailureCode,
    },
}

Variants§

§

TemporaryFailure

§

PermanentFailure