Enum aluasm::CompilerError[][src]

pub enum CompilerError {
    Isa(IsaSegError),
    RoutineMissed(String),
    RoutineEmpty(String),
    InstrRead(u16),
    InstrChanged(u16, &'static str, Instr),
    CallTable(CallTableError),
    FloatConstruction(u128, u128, u16, ParseError),
}

Variants

Isa

Errors related to ISA segment

Tuple Fields of Isa

0: IsaSegError
RoutineMissed

routine {0} is absent in the list of routines

Tuple Fields of RoutineMissed

0: String
RoutineEmpty

routine {0} contains no instructions

Tuple Fields of RoutineEmpty

0: String
InstrRead

unable to read instruction at position {0}

Tuple Fields of InstrRead

0: u16
InstrChanged

instruction at position {0} has changed from {1} into {2}

Tuple Fields of InstrChanged

0: u161: &'static str2: Instr
CallTable

Call table error

Tuple Fields of CallTable

0: CallTableError
FloatConstruction

unable to construct float representation of literal {0}.{1}e{2}

details: {3:?}

Tuple Fields of FloatConstruction

0: u1281: u1282: u163: ParseError

Implementations

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

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

This method tests for !=.

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

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

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.