ErrorExt

Trait ErrorExt 

Source
pub trait ErrorExt: Error {
    // Required method
    fn entry(&self) -> (Location, NextError<'_>);

    // Provided method
    fn error_stack(&self) -> Box<[Box<str>]> { ... }
}

Required Methods§

Source

fn entry(&self) -> (Location, NextError<'_>)

Provided Methods§

Source

fn error_stack(&self) -> Box<[Box<str>]>

Implementations on Foreign Types§

Source§

impl ErrorExt for Infallible

Source§

fn entry(&self) -> (Location, NextError<'_>)

Implementors§