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

pub enum Error {
    HyperError(HyperError),
    IO(Error),
    FromDTOError(FromDTOError),
    JSONDecodeError(DecoderError),
    Unauthorized,
    InvalidTokenType,
    InvalidScope,
    InvalidSecret,
}

Variants

HyperError(HyperError)IO(Error)FromDTOError(FromDTOError)JSONDecodeError(DecoderError)UnauthorizedInvalidTokenTypeInvalidScopeInvalidSecret

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<HyperError> for Error
[src]

fn from(error: HyperError) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(error: Error) -> Error

Performs the conversion.

impl From<DecoderError> for Error
[src]

fn from(error: DecoderError) -> Error

Performs the conversion.

impl From<FromDTOError> for Error
[src]

fn from(error: FromDTOError) -> Error

Performs the conversion.

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl StdError for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&StdError>

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