Enum symbolic_expressions::Error [] [src]

pub enum Error {
    Other(String),
    Parse(ParseErrorString),
    Io(Error),
    FromUtf8(FromUtf8Error),
    Decoder(String),
    Encoder(String),
}

Error type for symbolic-expressions

Variants

any other error type

intended to give more detailed parser errrors, actually not used currently

IO error

UTF8 parsing error

decoder error

encoder error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

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

impl From<Error> for Error
[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

Raised when there is general error when deserializing a type.

Raised when a Deserialize type unexpectedly hit the end of the stream.

Raised when a Deserialize was passed an incorrect type.

Raised when a Deserialize was passed an incorrect value.

Raised when a fixed sized sequence or map was passed in the wrong amount of arguments. Read more

Raised when a Deserialize enum type received an unexpected variant.

Raised when a Deserialize struct type received an unexpected struct field.

raised when a deserialize struct type did not receive a field.

Raised when a Deserialize struct type received more than one of the same struct field. Read more

impl Error for Error
[src]

Raised when there is a general error when serializing a type.

Raised when a Serialize was passed an incorrect value.