Struct flex_error::tracer_impl::string::StringTracer [−][src]
pub struct StringTracer(pub String);Expand description
A naive string tracer serializes error messages into
string and simply concatenate them together.
This can be used for example in no_std environment,
which may not support more complex error tracers.
Tuple Fields
0: StringTrait Implementations
Adds new error detail to an existing trace.
Create a new error trace from E, also taking ownership of it. Read more
Add a new error trace from E. In the current underlying implementation,
this is effectively still has the same behavior as
ErrorMessageTracer::add_message. This is because eyre and
anyhow do not support adding new set of backtraces to an existing
trace. So effectively, currently the error tracers can track at most
one backtrace coming from the original error source. Read more