Enum phoenix::error::Error [] [src]

pub enum Error {
    Utf8(FromUtf8Error),
    JsonDecode(DecoderError),
    JsonParse(ParserError),
    JsonEncode(EncoderError),
    Internal(String),
}

Variants

Error decoding websocket text frame Utf8

Error decoding Json

Error parsing Json

Error encoding Json

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

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl From<DecoderError> for Error
[src]

[src]

Performs the conversion.

impl From<ParserError> for Error
[src]

[src]

Performs the conversion.

impl From<EncoderError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

[src]

Performs the conversion.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

[src]

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