Enum paypal_rust::client::error::PayPalError
source · pub enum PayPalError {
Http(Error),
Json(Error),
Api(ValidationError),
QueryString(Error),
MissingAccessToken,
LibraryError(String),
}
Variants§
Http(Error)
Json(Error)
Api(ValidationError)
QueryString(Error)
MissingAccessToken
LibraryError(String)
Trait Implementations§
source§impl Debug for PayPalError
impl Debug for PayPalError
source§impl Display for PayPalError
impl Display for PayPalError
source§impl Error for PayPalError
impl Error for PayPalError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for PayPalError
impl From<Error> for PayPalError
source§impl From<Error> for PayPalError
impl From<Error> for PayPalError
source§impl From<Error> for PayPalError
impl From<Error> for PayPalError
source§impl From<Error> for PayPalError
impl From<Error> for PayPalError
source§impl From<ValidationError> for PayPalError
impl From<ValidationError> for PayPalError
source§fn from(error: ValidationError) -> Self
fn from(error: ValidationError) -> Self
Converts to this type from the input type.