Struct flex_error::DetailOnly [−][src]
pub struct DetailOnly<Detail>(_);
Expand description
An ErrorSource
that only provides error details but do not provide any trace.
This can typically comes from primitive error types that do not implement
Error
. The Detail
type is the error and the returned
trace is None
.
It is also possible to omit specifying the error as an error source, and instead
place it as a field in the error variant. However specifying it as a DetailOnly
source may give stronger hint to the reader that the particular error variant
is caused by other underlying errors.