Enum brainfuck::Error [] [src]

pub enum Error {
    Io(Error),
    Tape(Error),
    Program(Error),
    NoProgram,
    CycleLimit,
}

A general error type for problems inside of the interpreter.

Variants

Io

Errors with reading or writing to IO.

Tape

Errors with the underlying tape.

Program

Errors with the program.

NoProgram

No program loaded.

CycleLimit

Interpreter cycle limit hit.

Trait Implementations

impl Error for Error

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for Error

fn fmt(&self, f: &mut Formatter) -> Result

impl From<Error> for Error

fn from(e: Error) -> Error

impl From<Error> for Error

fn from(e: Error) -> Error

impl From<Error> for Error

fn from(e: Error) -> Error

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result