Enum fractal_api::error::Error [] [src]

pub enum Error {
    HyperError(HyperError),
    IO(Error),
    FromDTOError(FromDTOError),
    JSONDecodeError(DecoderError),
    Forbidden(String),
    BadRequest(String),
    ClientError(String),
    NotFound(String),
    ServerError(String),
    InvalidTokenType,
    InvalidScope,
    InvalidSecret,
    RegistrationError,
    TransactionError,
    ConfirmConnectionError,
}

The error type of the API.

Variants

Hyper request error.

IO error.

Error converting value from DTO object.

JSON decode error.

Forbidden.

Bad request

Error Logging in

Not found

Internal server error.

The token type is not valid.

The scope is not valid.

The secret is not valid.

Registration error.

An error occurred generating a transaction.

Connection confirmation error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<HyperError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<DecoderError> for Error
[src]

Performs the conversion.

impl From<FromDTOError> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more