Enum julia::api::exception::Exception [] [src]

pub enum Exception {
    Argument(Value),
    Bounds(Value),
    Composite(Value),
    Divide(Value),
    Domain(Value),
    EOF(Value),
    Error(Value),
    Inexact(Value),
    Init(Value),
    Interrupt(Value),
    InvalidState(Value),
    Key(Value),
    Load(Value),
    OutOfMemory(Value),
    ReadOnlyMemory(Value),
    Remote(Value),
    Method(Value),
    Overflow(Value),
    Parse(Value),
    System(Value),
    Type(Value),
    UndefRef(Value),
    UndefVar(Value),
    Unicode(Value),
    Unknown(Value),
}

Enum containing different Julia exceptions wrapped as a Value.

Variants

The parameters to a function call do not match a valid signature

Attempt to access index out-of-bounds

Composite exception

Divide by zero

The argument is outside of the valid domain

No more data is available from file or stream

Generic error occurred

Type conversion cannot be done exactly

An error occurred when running a module's init

The process was stopped by a terminal interrupt (C)

The program reached an invalid exception

Key doesn't exist in Associative- or Set-like object

An error occurred while include-ing, require-ing or using a file

Operation allocated too much memory

Operation tried to write to read-only memory

Remote exception occurred

Method with the required type signature doesn't exist

The result of an expression is too large

The expression couldn't be parsed as a valid Julia expression

System call failed

Type assertion failed

The item or field is not defined

Symbol is not defined in current scope

Byte array does not represent a valid unicode string

Unknown exception

Methods

impl Exception
[src]

[src]

Check if an exception occurred without checking its value.

[src]

Catch an exception if it occurred. Returns None if no exception occurred.

[src]

Construct a new Exception with a wrapped Julia value.

[src]

Immutably borrows the inner value.

[src]

Mutably borrows the inner value.

[src]

Consumes self and returns the inner value.

Methods from Deref<Target = Value>

[src]

Applies function to the inner pointer.

[src]

Applies function to the inner pointer and returns a default value if its poisoned.

[src]

Applies function to the inner pointer and executes a default function if its poisoned.

[src]

Checks if the inner Mutex is poisoned.

[src]

Checks if the Value is of a concrete Datatype.

[src]

Checks if the types of two Values are equal.

[src]

Checks if the value is a nothing.

[src]

Checks if the value is a tuple.

[src]

Checks if the value is a svec.

[src]

Checks if the value is a simplevector.

[src]

Checks if the value is a datatype.

[src]

Checks if the value is a mutable.

[src]

Checks if the value is a mutable_datatype.

[src]

Checks if the value is a immutable.

[src]

Checks if the value is a immutable_datatype.

[src]

Checks if the value is a uniontype.

[src]

Checks if the value is a typevar.

[src]

Checks if the value is a unionall.

[src]

Checks if the value is a typename.

[src]

Checks if the value is a int8.

[src]

Checks if the value is a int16.

[src]

Checks if the value is a int32.

[src]

Checks if the value is a int64.

[src]

Checks if the value is a long.

[src]

Checks if the value is a uint8.

[src]

Checks if the value is a uint16.

[src]

Checks if the value is a uint32.

[src]

Checks if the value is a uint64.

[src]

Checks if the value is a ulong.

[src]

Checks if the value is a float16.

[src]

Checks if the value is a float32.

[src]

Checks if the value is a float64.

[src]

Checks if the value is a bool.

[src]

Checks if the value is a symbol.

[src]

Checks if the value is a ssavalue.

[src]

Checks if the value is a slot.

[src]

Checks if the value is a expr.

[src]

Checks if the value is a globalref.

[src]

Checks if the value is a labelnode.

[src]

Checks if the value is a gotonode.

[src]

Checks if the value is a quotenode.

[src]

Checks if the value is a newvarnode.

[src]

Checks if the value is a linenode.

[src]

Checks if the value is a method_instance.

[src]

Checks if the value is a code_info.

[src]

Checks if the value is a method.

[src]

Checks if the value is a module.

[src]

Checks if the value is a mtable.

[src]

Checks if the value is a task.

[src]

Checks if the value is a string.

[src]

Checks if the value is a cpointer.

[src]

Checks if the value is a pointer.

[src]

Checks if the value is a intrinsic.

[src]

Checks if the value is a kind.

[src]

Checks if the value is a type.

[src]

Checks if the value is a primitivetype.

[src]

Checks if the value is a structtype.

[src]

Checks if the value is a bits.

[src]

Checks if the value is a abstracttype.

[src]

Checks if the value is a array_type.

[src]

Checks if the value is a array.

[src]

Checks if the value is a cpointer_type.

[src]

Checks if the value is a abstract_ref_type.

[src]

Checks if the value is a tuple_type.

[src]

Checks if the value is a vecelement_type.

[src]

Checks if the value is a type_type.

[src]

Checks if the value is a vararg_type.

Trait Implementations

impl Clone for Exception
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Deref for Exception
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl DerefMut for Exception
[src]

[src]

Mutably dereferences the value.

impl Debug for Exception
[src]

[src]

Formats the value using the given formatter.

impl Display for Exception
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Exception
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more