Enum julia::error::Error [] [src]

pub enum Error {
    UnhandledException(Exception),
    InvalidUnbox,
    NotAFunction,
    CallError,
    EvalError,
    NullPointer,
    InvalidSymbol,
    JuliaInitialized,
    CStrError(FromBytesWithNulError),
    CStringError(NulError),
    PoisonError,
    ResourceInUse,
    UTF8Error(CharTryFromError),
    FromUTF8Error(FromUtf8Error),
    IntoStringError(IntoStringError),
    IOError(Error),
}

A union of all possible errors that might occur in Julia runtime and julia-rs, including Julia exceptions, Rust's io errors and alike, errors arising from trying to use poisonend resources or trying to consume resources in use.

Variants

An exception has occurred.

Cannot unbox into a certain type.

Tried to call a non-function object.

An error occurred while trying to call a function.

An error occurred while evaluating a string or expression.

Attempt to construct a string or Julia object with a null pointer.

Invalid characters used in symbol. See docs.julialang.org for details on symbols and allowed characters.

Attempt to initialize Julia in a thread where it's already initialized.

Wrapper for ffi::FromBytesWithNulError.

Wrapper for ffi::NulError.

Wrapper for sync::PoisonError.

Wrapper for errors arising from trying to consume an Rc which is currently borrowed.

Wrapper for char::CharTryFromError.

Wrapper for string::FromUtf8Error.

Wrapper for ffi::IntoStringError.

Wrapper for io::Error.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<FromBytesWithNulError> for Error
[src]

[src]

Performs the conversion.

impl From<NulError> for Error
[src]

[src]

Performs the conversion.

impl From<CharTryFromError> for Error
[src]

[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

[src]

Performs the conversion.

impl<G> From<PoisonError<G>> for Error
[src]

[src]

Performs the conversion.

impl<T> From<Rc<T>> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<IntoStringError> for Error
[src]

[src]

Performs the conversion.