pub enum RuntimeErrorKind {
Show 37 variants
StackCouldNotBePopped,
VecIndexOutOfBoundsError {
tried: i32,
size: usize,
},
MapKeyNonExisting,
MustHaveGuardArmThatMatches,
ValueError(ValueError),
ArgumentIsNotMutable,
WrongNumberOfArguments(usize, usize),
ExpectedOptional,
NonUniqueKeysInMapLiteralDetected,
NotAnArray,
NotSparseValue,
CoerceOptionToBoolFailed,
VariableWasNotMutable,
ContinueNotAllowedHere,
BreakNotAllowedHere,
NotAMap,
NotAMap2,
MissingExternalFunction(ExternalFunctionId),
ExpectedInt,
ExpectedString,
RangeItemMustBeInt,
OperationRequiresArray,
ExpectedFloat,
ExpectedTwoFloatTuple,
ExpectedFunction,
NotSparseId,
ReturnNotAllowedHere,
ExpectedStruct,
ExpectedArray,
ExpectedMap,
PostfixChainError,
IndexOutOfBounds,
DivideByZero,
MapKeyAlreadyExists,
CouldNotConvertFromSignal,
UnknownMutIntrinsic,
UnknownGenericIntrinsic,
}
Variants§
StackCouldNotBePopped
VecIndexOutOfBoundsError
MapKeyNonExisting
MustHaveGuardArmThatMatches
ValueError(ValueError)
ArgumentIsNotMutable
WrongNumberOfArguments(usize, usize)
ExpectedOptional
NonUniqueKeysInMapLiteralDetected
NotAnArray
NotSparseValue
CoerceOptionToBoolFailed
VariableWasNotMutable
ContinueNotAllowedHere
BreakNotAllowedHere
NotAMap
NotAMap2
MissingExternalFunction(ExternalFunctionId)
ExpectedInt
ExpectedString
RangeItemMustBeInt
OperationRequiresArray
ExpectedFloat
ExpectedTwoFloatTuple
ExpectedFunction
NotSparseId
ReturnNotAllowedHere
ExpectedStruct
ExpectedArray
ExpectedMap
PostfixChainError
IndexOutOfBounds
DivideByZero
MapKeyAlreadyExists
CouldNotConvertFromSignal
UnknownMutIntrinsic
UnknownGenericIntrinsic
Trait Implementations§
Source§impl Debug for RuntimeErrorKind
impl Debug for RuntimeErrorKind
Source§impl PartialEq for RuntimeErrorKind
impl PartialEq for RuntimeErrorKind
impl Eq for RuntimeErrorKind
impl StructuralPartialEq for RuntimeErrorKind
Auto Trait Implementations§
impl Freeze for RuntimeErrorKind
impl RefUnwindSafe for RuntimeErrorKind
impl Send for RuntimeErrorKind
impl Sync for RuntimeErrorKind
impl Unpin for RuntimeErrorKind
impl UnwindSafe for RuntimeErrorKind
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