pub enum Error {
Show 13 variants
OutputFormat,
Input,
DataStackUnderflow,
StackOverflow,
DataStackEmpty,
RetStackEmpty,
FlowStackEmpty,
BadMath,
MissingIfPair,
MissingElsePair,
MissingLoopPair,
MissingDoPair,
InternalError,
}
Variants§
OutputFormat
Failed to write to the “stdout” style output
Input
Failed to read from the “stdin” style input
DataStackUnderflow
Data stack underflowed
StackOverflow
Stack Overflow
DataStackEmpty
Data stack was empty
RetStackEmpty
Return stack was empty
FlowStackEmpty
Flow/Execution stack was empty
BadMath
Some kind of checked math failed
MissingIfPair
We found an “if” without an appropriate pair
MissingElsePair
We found an “else” without an appropriate pair
MissingLoopPair
We found a “loop” without an appropriate pair
MissingDoPair
We found a “do” without an appropriate pair
InternalError
Something has gone terribly wrong
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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