[][src]Trait tide::error::ResponseExt

pub trait ResponseExt {
    fn err_cause(&self) -> Option<&(dyn Error + Send + Sync + 'static)>;
}

Extends the Response type with a method to extract error causes when applicable.

Required methods

fn err_cause(&self) -> Option<&(dyn Error + Send + Sync + 'static)>

Extract the cause of the unsuccessful response, if any

Loading content...

Implementations on Foreign Types

impl<T> ResponseExt for Response<T>[src]

Loading content...

Implementors

Loading content...