Enum ketos::error::Error [] [src]

pub enum Error {
    CompileError(CompileError),
    DecodeError(DecodeError),
    EncodeError(EncodeError),
    ExecError(ExecError),
    IoError(IoError),
    ParseError(ParseError),
}

Consolidated error type; contains one of a category of errors.

Variants

CompileError(CompileError)

Error in compiling code to bytecode

DecodeError(DecodeError)

Error in decoding bytecode file format

EncodeError(EncodeError)

Error in encoding bytecode file format

ExecError(ExecError)

Error in executing code

IoError(IoError)

Error in file I/O operation

ParseError(ParseError)

Error in scanning text or parsing syntax

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl Display for Error
[src]

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

Formats the value using the given formatter.

impl From<CompileError> for Error
[src]

fn from(e: CompileError) -> Error

Performs the conversion.

impl From<DecodeError> for Error
[src]

fn from(e: DecodeError) -> Error

Performs the conversion.

impl From<EncodeError> for Error
[src]

fn from(e: EncodeError) -> Error

Performs the conversion.

impl From<ExecError> for Error
[src]

fn from(e: ExecError) -> Error

Performs the conversion.

impl From<IoError> for Error
[src]

fn from(e: IoError) -> Error

Performs the conversion.

impl From<ParseError> for Error
[src]

fn from(e: ParseError) -> Error

Performs the conversion.