fuel_core_services

Trait TraceErr

source
pub trait TraceErr {
    // Required method
    fn trace_err(self, msg: &str) -> Self;
}
Expand description

Helper trait to trace errors

Required Methods§

source

fn trace_err(self, msg: &str) -> Self

Trace an error with a message.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T, E> TraceErr for Result<T, E>
where E: Display,

source§

fn trace_err(self, msg: &str) -> Self

Implementors§