Struct task_hookrs::error::TaskError [] [src]

pub struct TaskError {
    // some fields omitted
}

Store error type

Methods

impl TaskError
[src]

fn new(errtype: TaskErrorKind, cause: Option<Box<Error>>) -> TaskError

Build a new TaskError from an TaskErrorKind, optionally with cause

fn err_type(&self) -> TaskErrorKind

Get the error type of this TaskError

Trait Implementations

impl Debug for TaskError
[src]

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

Formats the value using the given formatter.

impl Display for TaskError
[src]

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

Formats the value using the given formatter.

impl Error for TaskError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

The lower-level cause of this error, if any. Read more