Enum braintree::error::Error
[−]
[src]
pub enum Error { Api(ApiErrorResponse), Http(Error), TestOperationInProduction, }
An enum describing an error returned as a result of an API call.
Variants
Api(ApiErrorResponse)
Braintree's servers reported an error with your request. This usually means that your authorization was incorrect, you're missing required fields, or some validation step failed. Consult the error message for more details about what went wrong.
Http(Error)
An HTTP-level error occurred in the underlying client. This usually means that an error occurred with the raw network call, e.g. no internet access.
TestOperationInProduction
A test operation, such as forcing a transaction into a settlement status, was attempted in a production environment.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more