Struct plaid::errors::PlaidError[][src]

pub struct PlaidError {
    pub error_type: String,
    pub error_code: String,
    pub error_message: String,
    pub display_message: Option<String>,
    pub request_id: String,
    pub status_code: StatusCode,
}

Fields

error_type: String

A broad categorization of the error. Safe for programatic use. Possible values: INVALID_REQUEST, INVALID_INPUT, INSTITUTION_ERROR, RATE_LIMIT_EXCEEDED, API_ERROR, ITEM_ERROR, ASSET_REPORT_ERROR, RECAPTCHA_ERROR, OAUTH_ERROR, PAYMENT_ERROR, BANK_TRANSFER_ERROR

error_code: String

The particular error code. Safe for programmatic use.

error_message: String

A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use.

display_message: Option<String>

A user-friendly representation of the error code. None if the error is not related to user action. This may change over time and is not safe for programmatic use.

request_id: String

A unique identifying the request, to be used for troubleshooting purposes. This field will be omitted in errors provided by webhooks.

status_code: StatusCode

The HTTP status code associated with the error.

Trait Implementations

impl Clone for PlaidError[src]

impl Debug for PlaidError[src]

impl Display for PlaidError[src]

impl From<PlaidError> for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for PlaidError[src]

impl Send for PlaidError[src]

impl Sync for PlaidError[src]

impl Unpin for PlaidError[src]

impl UnwindSafe for PlaidError[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.