Enum json_color::Error []

pub enum Error {
    Syntax(ErrorCode, usizeusize),
    Io(Error),
}

This type represents all possible errors that can occur when serializing or deserializing a value into JSON.

Variants

The JSON value had some syntatic error.

Some IO error occurred when serializing or deserializing a value.

Trait Implementations

impl From<Error> for Error

impl From<Error> for Error

impl Debug for Error

impl Error for Error

impl Error for Error

Raised when there is general error when deserializing a type.

impl Display for Error

impl Error for Error