pub enum DepthError {
AboveLimit(usize),
BelowZero,
}
Expand description
Errors in internal depth tracking of execution engines.
Variants§
AboveLimit(usize)
The engine’s maximum depth limit was exceeded.
The inner usize
indicates that limit.
BelowZero
The document has unmatched closing characters and is malformed.
Trait Implementations§
Source§impl Debug for DepthError
impl Debug for DepthError
Source§impl Display for DepthError
impl Display for DepthError
Source§impl Error for DepthError
impl Error for DepthError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for DepthError
impl RefUnwindSafe for DepthError
impl Send for DepthError
impl Sync for DepthError
impl Unpin for DepthError
impl UnwindSafe for DepthError
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