[][src]Enum ch8alib::error::AsmError

pub enum AsmError {
    Lexer(LexerError),
    Parser(ParseError),
    Opcode(OpcodeError),
    Binary(BinaryError),
    Address(AddrError),
    Argument(ArgError),
    Skip(SkipError),
}

An error generated when assembling a Chip-8 binary

Variants

Lexer(LexerError)

A lexer error

Parser(ParseError)

A parser error

Opcode(OpcodeError)

An opcode generation error

Binary(BinaryError)

A binary generation error

Address(AddrError)

An address retrieval error

Argument(ArgError)

An argument error

Skip(SkipError)

A skiptype error

Trait Implementations

impl Debug for AsmError[src]

impl Display for AsmError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.