pub enum ErrorCategory {
Show 26 variants
Init,
Io(Error),
NotFound,
Unexpected,
Expected,
Misdefined,
Unknown,
MissingFile,
Malformed,
Libxml,
Convert,
Recursion,
EoF,
Endgroup,
FailedParse,
MaxLimit(usize),
Generic(Box<dyn ErrorTrait + Send + Sync>),
Filename(String),
ToDo,
TokenLimit,
PushbackLimit,
IfLimit,
MemoryBudget,
ReadBudget,
StreamingRestart,
Named(String),
}Variants§
Init
Io(Error)
NotFound
Unexpected
Expected
Misdefined
Unknown
MissingFile
Malformed
Libxml
Convert
Recursion
EoF
Endgroup
FailedParse
MaxLimit(usize)
Generic(Box<dyn ErrorTrait + Send + Sync>)
Filename(String)
ToDo
TokenLimit
PushbackLimit
IfLimit
MemoryBudget
ReadBudget
A budgeted run of digestion read all it may (crate::gullet::read_budget): the run ends, nothing else does. No
Fatal: never logged, never latched.
StreamingRestart
Not a failure: an eager digestion stopped at the streaming-restart
watermark so the CLI can rerun the document under --streaming before
the memory fuse (batch 56dz). Reported as an Info, never a Fatal.
Named(String)
A binding’s own object, logged as spelled (Perl Fatal(…, $object, …), Error.pm:271).
Implementations§
Trait Implementations§
Source§impl Debug for ErrorCategory
impl Debug for ErrorCategory
Auto Trait Implementations§
impl !RefUnwindSafe for ErrorCategory
impl !UnwindSafe for ErrorCategory
impl Freeze for ErrorCategory
impl Send for ErrorCategory
impl Sync for ErrorCategory
impl Unpin for ErrorCategory
impl UnsafeUnpin for ErrorCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more