Enum golden_apple::Error [−][src]
pub enum Error { VarIntTooLong, ReaderError(Error), WriterError(Error), MissingData, InvalidBool, InvalidNBTHeader, InvalidNBTType, }
Expand description
Represents an error that can occur while using one of the libraries functions.
Variants
The datastream representing a VarInt exceded the maximum acceptable size.
ReaderError(Error)
An error occured while using a Read
type to parse.
WriterError(Error)
An error occured while using a Write
type to parse.
There was not enough data present to parse.
A boolean had a value other than true or false.
While reading NBT, the stream started with a value other than 0x0a.
While reading NBT, the stream had an invalid data type ID.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error