pub enum Error {
Show 39 variants
Stack(StackError),
Bump(BumpError),
Output(OutputError),
CFANotInDict(Word),
WordNotInDict,
ColonCompileMissingName,
ColonCompileMissingSemicolon,
LookupFailed,
WordToUsizeInvalid(i32),
UsizeToWordInvalid(usize),
ElseBeforeIf,
ThenBeforeIf,
IfWithoutThen,
DuplicateElse,
IfElseWithoutThen,
CallStackCorrupted,
InterpretingCompileOnlyWord,
BadCfaOffset,
LoopBeforeDo,
DoWithoutLoop,
BadCfaLen,
BuiltinHasNoNextValue,
UntaggedCFAPtr,
LoopCountIsNegative,
LQuoteMissingRQuote,
LiteralStringTooLong,
NullPointerInCFA,
BadStrLiteral(StrLiteralError),
ForgetWithoutWordName,
ForgetNotInDict,
CantForgetBuiltins,
InternalError,
BadLiteral,
BadWordOffset,
BadArrayLength,
DivideByZero,
AddrOfMissingName,
AddrOfNotAWord,
PendingCallAgain,
}
Variants§
Stack(StackError)
Bump(BumpError)
Output(OutputError)
CFANotInDict(Word)
WordNotInDict
ColonCompileMissingName
ColonCompileMissingSemicolon
LookupFailed
WordToUsizeInvalid(i32)
UsizeToWordInvalid(usize)
ElseBeforeIf
ThenBeforeIf
IfWithoutThen
DuplicateElse
IfElseWithoutThen
CallStackCorrupted
InterpretingCompileOnlyWord
BadCfaOffset
LoopBeforeDo
DoWithoutLoop
BadCfaLen
BuiltinHasNoNextValue
UntaggedCFAPtr
LoopCountIsNegative
LQuoteMissingRQuote
LiteralStringTooLong
NullPointerInCFA
BadStrLiteral(StrLiteralError)
ForgetWithoutWordName
ForgetNotInDict
CantForgetBuiltins
InternalError
BadLiteral
BadWordOffset
BadArrayLength
DivideByZero
AddrOfMissingName
AddrOfNotAWord
PendingCallAgain
Trait Implementations§
source§impl From<OutputError> for Error
impl From<OutputError> for Error
source§fn from(oe: OutputError) -> Self
fn from(oe: OutputError) -> Self
Converts to this type from the input type.
source§impl From<StackError> for Error
impl From<StackError> for Error
source§fn from(se: StackError) -> Self
fn from(se: StackError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Error
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