Enum bf::common::Error[][src]

pub enum Error {
    UnmatchedBegin,
    UnmatchedEnd,
    PointerUnderflow,
    PointerOverflow,
}

The static and dynamic errors that can happen in Brainfuck.

Variants

Unmatched ‘[’ (syntax error)

Unmatched ‘]’ (syntax error)

If execution continues, the pointer will go below 0 (run-time error)

If execution continues, the pointer will go beyond the high end of the memory (run-time error)

Trait Implementations

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Error
[src]

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

This method tests for !=.

impl Eq for Error
[src]

impl Display for Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error