Enum mojang::MojangError[][src]

pub enum MojangError {
    NotEnoughData,
    ReadError(Error),
    RequestError(Error),
    ParseError,
}
Expand description

Varous errors that can come from the function in this crate

Variants

NotEnoughData

Not enough data to proform action

Ex: Used when calling Player.name_at(n) if player dosent have nave history data

ReadError(Error)

IO Error while reading a stream

Tuple Fields of ReadError

0: Error
RequestError(Error)

Ureq Request Error

Tuple Fields of RequestError

0: Error
ParseError

Error Parseing Data

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.