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