pub type DtErr = AnErr<DtErrKind, 2, 49>;Aliased Type§
pub struct DtErr {
pub reasons: [Option<AsciiStr<49>>; 2],
pub locations: [Option<&'static Location<'static>>; 2],
pub kinds: [Option<DtErrKind>; 2],
pub len: u8,
}Fields§
§reasons: [Option<AsciiStr<49>>; 2]Per-level reasons. Only the first len entries are valid.
None means no reason (or an empty reason) was provided for that level.
locations: [Option<&'static Location<'static>>; 2]Parallel stack of source locations.
Only the first len entries are valid.
kinds: [Option<DtErrKind>; 2]Parallel stack of error kinds (one per call-stack level).
Only the first len entries are valid.
len: u8Current depth of the error trace (1 = original error).