1use crate::AnErr;
8
9#[non_exhaustive]
10#[derive(Debug, Clone, Copy, PartialEq, Eq)]
11pub enum DtErrKind {
12 UnexpectedEnd,
13 UnknownDirective,
14 UnsupportedDirective,
15 BadFractional,
16 MismatchedLiteral,
17 ExpectedValue,
18 InvalidName,
19 InvalidTimezoneOffset,
20 MustStartWith,
21 InvalidNumber,
22 InvalidItem,
23 InvalidBytes,
24 InvalidSyntax,
25 OutOfRange,
26 TrailingCharacters,
27 Incomplete,
28 InvalidInput,
29 InternalErr,
30 IOErr,
31}
32
33pub type DtErr = AnErr<DtErrKind, 2, 49>;