Enum tg_botapi::BotError [] [src]

pub enum BotError {
    Http(Error),
    Api {
        error_code: i64,
        description: String,
        parameters: Option<ResponseParameters>,
    },
}

Variants

Fields of Api

Trait Implementations

impl Debug for BotError
[src]

[src]

Formats the value using the given formatter.

impl Display for BotError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for BotError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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