Enum ketos::encode::DecodeError [] [src]

pub enum DecodeError {
    DivisionByZero,
    EmptyList,
    IncorrectMagicNumber([u8; 4]),
    IncorrectVersion(u32),
    InvalidChar(u32),
    InvalidCodeFlags(u32),
    InvalidName(u32),
    InvalidParamCount,
    InvalidType(u8),
    InvalidUtf8,
    UnbalancedComma,
    UnexpectedEof,
}

Error in decoding bytecode file format

Variants

Ratio with zero divisor encountered

Empty list encountered

Incorrect magic number in file header

Incorrect version number in file header

Invalid unicode character value

Invalid flags in code object

Invalid name value

Invalid parameter count in code object

Invalid type value

Invalid UTF-8 in string value

Unbalanced Quasiquote and Comma values

Unexpected end-of-file

Trait Implementations

impl Debug for DecodeError
[src]

Formats the value using the given formatter.

impl Display for DecodeError
[src]

Formats the value using the given formatter. Read more

impl NameDisplay for DecodeError
[src]

Writes the value's display representation to the formatter stream.