Enum slack::error::Error [] [src]

pub enum Error {
    Http(Error),
    WebSocket(Error),
    Utf8(FromUtf8Error),
    Url(UrlError),
    Json(Error),
    Api(String),
    Internal(String),
}

slack::Error represents errors that can happen while using the RtmClient

Variants

Http client error

WebSocket connection error

Error decoding websocket text frame Utf8

Error parsing url

Error decoding Json

Slack Api Error

Errors that do not fit under the other types, Internal is for EG channel errors.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<UrlError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

Performs the conversion.

impl From<StartError<Error>> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

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