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,
},
}
Fields of ArgCountMismatch
Fields of InvalidBinaryOp
Fields of OwnershipCheckFailure
Fields of IndexOutOfBound
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.