Enum polars::error::ArrowError [−]
pub enum ArrowError {
NotYetImplemented(String),
External(String, Box<dyn Error + Send + Sync + 'static, Global>),
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.
Tuple Fields of NotYetImplemented
0: String
Triggered by an external error, such as CSV, serde, chrono.
Schema(String)
Error associated with incompatible schemas.
Tuple Fields of Schema
0: String
Io(Error)
Errors associated with IO
Tuple Fields of Io
0: Error
InvalidArgumentError(String)
When an invalid argument is passed to a function.
Tuple Fields of InvalidArgumentError
0: String
Ffi(String)
Error during import or export to/from C Data Interface
Tuple Fields of Ffi
0: String
Ipc(String)
Error during import or export to/from IPC
Tuple Fields of Ipc
0: String
ExternalFormat(String)
Error during import or export to/from a format
Tuple Fields of ExternalFormat
0: String
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
Tuple Fields of ArithmeticError
0: String
Other(String)
Any other error.
Tuple Fields of Other
0: String
Implementations
impl ArrowError
impl ArrowError
pub fn from_external_error(
error: impl Error + Send + Sync + 'static
) -> ArrowError
pub fn from_external_error(
error: impl Error + Send + Sync + 'static
) -> ArrowError
Wraps an external error in an ArrowError
.
Trait Implementations
impl Debug for ArrowError
impl Debug for ArrowError
impl Display for ArrowError
impl Display for ArrowError
impl Error for ArrowError
impl Error for ArrowError
Performs the conversion.
impl From<Error> for ArrowError
impl From<Error> for ArrowError
pub fn from(error: Error) -> ArrowError
pub fn from(error: Error) -> ArrowError
Performs the conversion.
impl From<Error> for ArrowError
impl From<Error> for ArrowError
pub fn from(error: Error) -> ArrowError
pub fn from(error: Error) -> ArrowError
Performs the conversion.
impl From<Error> for ArrowError
impl From<Error> for ArrowError
pub fn from(error: Error) -> ArrowError
pub fn from(error: Error) -> ArrowError
Performs the conversion.
impl From<ParquetError> for ArrowError
impl From<ParquetError> for ArrowError
pub fn from(error: ParquetError) -> ArrowError
pub fn from(error: ParquetError) -> ArrowError
Performs the conversion.
impl From<ParseError> for ArrowError
impl From<ParseError> for ArrowError
pub fn from(error: ParseError) -> ArrowError
pub fn from(error: ParseError) -> ArrowError
Performs the conversion.
impl From<Utf8Error> for ArrowError
impl From<Utf8Error> for ArrowError
pub fn from(error: Utf8Error) -> ArrowError
pub fn from(error: Utf8Error) -> ArrowError
Performs the conversion.