Enum acon::AconError [] [src]

pub enum AconError {
    ExcessiveClosingDelimiter(Option<usize>),
    InternalStringTop(Option<usize>),
    MissingStackTop(Option<usize>),
    MultipleTopNodes,
    TopNodeIsArray,
    OverwritingKey(Option<usize>),
    WrongClosingDelimiterExpectedArray(Option<usize>),
    WrongClosingDelimiterExpectedTable(Option<usize>),
}

Errors that come about during parsing

Variants

Indicates that there are too many closing delimiters compared to opening delimiters

Acon::String is the top of the stack. This indicates an interal error

The stack top is missing, indicating that something popped the top

There is more than one top node after parsing the input. Unterminated tables.

If the top node of the stack is an array, this indicates that there's an unterminated array

The key at this line is already present in the parent table

Got a } but expected a ]

Got a ] but expected a }

Trait Implementations

impl PartialEq for AconError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for AconError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AconError
[src]

Formats the value using the given formatter.