Enum screeps_api::websocket::parsing::ParseError [] [src]

pub enum ParseError {
    Other(String),
    Serde {
        error_desc: &'static str,
        full_string: String,
        err: Error,
    },
    // some variants omitted
}

A SockJS parse error occurred. TODO: more detailed info.

Variants

Some error occurred.

Serde json error

Fields of Serde

Error description

Full string being parsed.

Inner error

Methods

impl ParseError
[src]

[src]

Creates a serde parse error.

Trait Implementations

impl Debug for ParseError
[src]

[src]

Formats the value using the given formatter.

impl Display for ParseError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for ParseError
[src]

[src]

A short description of the error. Read more

[src]

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