Struct task_hookrs::error::TaskError
[−]
[src]
pub struct TaskError { /* fields omitted */ }
Task error type
Methods
impl TaskError
[src]
fn new(errtype: TaskErrorKind, cause: Option<Box<Error>>) -> TaskError
[src]
Build a new TaskError from an TaskErrorKind, optionally with cause
fn err_type(&self) -> TaskErrorKind
[src]
Get the error type of this TaskError
Trait Implementations
impl Debug for TaskError
[src]
impl Display for TaskError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), FmtError>
[src]
Formats the value using the given formatter. Read more