pub type DtErr = AnErr<DtErrKind, 3, 29>;Aliased Type§
pub struct DtErr {
pub reasons: [Option<AsciiStr<29>>; 3],
pub locations: [Option<&'static Location<'static>>; 3],
pub kinds: [Option<DtErrKind>; 3],
pub len: u8,
}Fields§
§reasons: [Option<AsciiStr<29>>; 3]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>>; 3]Parallel stack of source locations.
Only the first len entries are valid.
kinds: [Option<DtErrKind>; 3]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).