pub enum UncheckedException {
AlreadyAwaited {
promise: Value,
},
ArgCountMismatch {
func_id: usize,
expected: usize,
got: usize,
},
DivideByZero,
InvalidBinaryOp {
bin_op: char,
lhs: Value,
rhs: Value,
},
InvalidCastOp {
dest_type: &'static str,
src: Value,
},
InvalidUnaryOp {
unary_op: char,
src: Value,
},
OwnershipCheckFailure {
object: Value,
expected_mask: u8,
},
UnexpectedNull {
value: Value,
},
IndexOutOfBound {
indexed: Value,
index: i64,
len: usize,
},
}Variants§
AlreadyAwaited
ArgCountMismatch
DivideByZero
InvalidBinaryOp
InvalidCastOp
InvalidUnaryOp
OwnershipCheckFailure
UnexpectedNull
IndexOutOfBound
Auto Trait Implementations§
impl !RefUnwindSafe for UncheckedException
impl !Send for UncheckedException
impl !Sync for UncheckedException
impl !UnwindSafe for UncheckedException
impl Freeze for UncheckedException
impl Unpin for UncheckedException
impl UnsafeUnpin for UncheckedException
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