Enum anachro_forth_core::Error[][src]

pub enum Error {
    OutputFormat,
    Input,
    DataStackUnderflow,
    DataStackEmpty,
    RetStackEmpty,
    FlowStackEmpty,
    BadMath,
    MissingIfPair,
    MissingElsePair,
    MissingLoopPair,
    MissingDoPair,
    InternalError,
}

Variants

OutputFormat

Failed to write to the “stdout” style output

Input

Failed to read from the “stdin” style input

DataStackUnderflow

Data stack underflowed

DataStackEmpty

Data stack was empty

RetStackEmpty

Return stack was empty

FlowStackEmpty

Flow/Execution stack was empty

BadMath

Some kind of checked math failed

MissingIfPair

We found an “if” without an appropriate pair

MissingElsePair

We found an “else” without an appropriate pair

MissingLoopPair

We found a “loop” without an appropriate pair

MissingDoPair

We found a “do” without an appropriate pair

InternalError

Something has gone terribly wrong

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

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.

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.