Enum nx::Error [-]  [+] [src]

pub enum Error {
    Io(IoError),
    Map(MapError),
    Nx(&'static str),
}

An error occuring anywhere in the library.

Variants

Io

An internal IoError.

Map

An internal MapError.

Nx

A library error.

Trait Implementations

impl StdError for Error

fn description(&self) -> &str

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

impl FromError<IoError> for Error

fn from_error(err: IoError) -> Error

impl FromError<MapError> for Error

fn from_error(err: MapError) -> Error

impl Display for Error

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

Derived Implementations

impl Debug for Error

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