Trait stc_ts_errors::DebugExt
source · [−]pub trait DebugExt<T>: Into<Result<T, Error>> {
fn convert_err<F>(self, op: F) -> Result<T, Error>
where
F: FnOnce(ErrorKind) -> ErrorKind,
{ ... }
fn context(self, msg: &str) -> Result<T, Error> { ... }
fn with_context<F>(self, msg: F) -> Result<T, Error>
where
F: FnOnce() -> String,
{ ... }
}