pub enum ArrowError {
    NotYetImplemented(String),
    External(StringBox<dyn Error + Send + Sync>),
    Schema(String),
    Io(Error),
    InvalidArgumentError(String),
    Ffi(String),
    Ipc(String),
    ExternalFormat(String),
    KeyOverflowError,
    ArithmeticError(String),
    Other(String),
}
Expand description

Enum with all errors in this crate.

Variants

NotYetImplemented(String)

Returned when functionality is not yet available.

External(StringBox<dyn Error + Send + Sync>)

Triggered by an external error, such as CSV, serde, chrono.

Schema(String)

Error associated with incompatible schemas.

Io(Error)

Errors associated with IO

InvalidArgumentError(String)

When an invalid argument is passed to a function.

Ffi(String)

Error during import or export to/from C Data Interface

Ipc(String)

Error during import or export to/from IPC

ExternalFormat(String)

Error during import or export to/from a format

KeyOverflowError

Whenever pushing to a container fails because it does not support more entries. (e.g. maximum size of the keys of a dictionary overflowed)

ArithmeticError(String)

Error during arithmetic operation. Normally returned during checked operations

Other(String)

Any other error.

Implementations

Wraps an external error in an ArrowError.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

Converts the given value to a String. Read more

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.