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(Error)
Http client error
WebSocket(Error)
WebSocket connection error
Utf8(FromUtf8Error)
Error decoding websocket text frame Utf8
Url(UrlError)
Error parsing url
Json(Error)
Error decoding Json
Api(String)
Slack Api Error
Internal(String)
Errors that do not fit under the other types, Internal is for EG channel errors.
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl From<UrlError> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Error
Performs the conversion.
impl From<StartError<Error>> for Error
[src]
fn from(err: StartError<Error>) -> Error
Performs the conversion.