Struct symbolic::Error [] [src]

pub struct Error(pub ErrorKind, _);

The Error type.

This tuple struct is made of two elements:

  • an ErrorKind which is used to determine the type of the error.
  • An internal State, not meant for direct use outside of error_chain internals, containing:
    • a backtrace, generated when the error is created.
    • an error chain, used for the implementation of Error::cause().

Methods

impl Error
[src]

[src]

Constructs an error from a kind, and generates a backtrace.

[src]

Constructs a chained error from another error and a kind, and generates a backtrace.

[src]

Construct a chained error from another boxed error and a kind, and generates a backtrace

[src]

Returns the kind of the error.

[src]

Iterates over the error chain.

[src]

Returns the backtrace associated with this error.

[src]

Extends the error chain with a new entry.

Methods from Deref<Target = ErrorKind>

[src]

A string describing the error kind.

Trait Implementations

impl Error for Error
[src]

[src]

[src]

impl Deref for Error
[src]

[src]

impl From<Error> for Error
[src]

[src]

impl From<ParseIntError> for Error
[src]

impl<'a> From<&'a str> for Error
[src]

[src]

impl From<String> for Error
[src]

impl From<Error> for Error
[src]

[src]

impl From<Error<usize>> for Error
[src]

[src]

impl From<ErrorKind> for Error
[src]

impl From<Error> for Error
[src]

[src]

impl From<NulError> for Error
[src]

[src]

impl From<Utf8Error> for Error
[src]

impl From<Error> for Error
[src]

[src]

impl ChainedError for Error
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl Debug for Error
[src]

[src]

impl Display for Error
[src]

[src]