Enum pr47::data::exception::UncheckedException[][src]

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

Fields of AlreadyAwaited

promise: Value
ArgCountMismatch

Fields of ArgCountMismatch

func_id: usizeexpected: usizegot: usize
DivideByZero
InvalidBinaryOp

Fields of InvalidBinaryOp

bin_op: charlhs: Valuerhs: Value
InvalidCastOp

Fields of InvalidCastOp

dest_type: &'static strsrc: Value
InvalidUnaryOp

Fields of InvalidUnaryOp

unary_op: charsrc: Value
OwnershipCheckFailure

Fields of OwnershipCheckFailure

object: Valueexpected_mask: u8
UnexpectedNull

Fields of UnexpectedNull

value: Value
IndexOutOfBound

Fields of IndexOutOfBound

indexed: Valueindex: i64len: usize

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.