Enum arrow::error::ArrowError
source · pub enum ArrowError {
Show 15 variants
NotYetImplemented(String),
ExternalError(Box<dyn Error + Sync + Send + 'static, Global>),
CastError(String),
MemoryError(String),
ParseError(String),
SchemaError(String),
ComputeError(String),
DivideByZero,
CsvError(String),
JsonError(String),
IoError(String),
InvalidArgumentError(String),
ParquetError(String),
CDataInterface(String),
DictionaryKeyOverflowError,
}
Expand description
Many different operations in the arrow
crate return this error type.
Variants§
NotYetImplemented(String)
Returned when functionality is not yet available.
ExternalError(Box<dyn Error + Sync + Send + 'static, Global>)
CastError(String)
MemoryError(String)
ParseError(String)
SchemaError(String)
ComputeError(String)
DivideByZero
CsvError(String)
JsonError(String)
IoError(String)
InvalidArgumentError(String)
ParquetError(String)
CDataInterface(String)
Error during import or export to/from the C Data Interface
DictionaryKeyOverflowError
Implementations§
source§impl ArrowError
impl ArrowError
sourcepub fn from_external_error(
error: Box<dyn Error + Sync + Send + 'static, Global>
) -> ArrowError
pub fn from_external_error(
error: Box<dyn Error + Sync + Send + 'static, Global>
) -> ArrowError
Wraps an external error in an ArrowError
.
Trait Implementations§
source§impl Debug for ArrowError
impl Debug for ArrowError
source§impl Display for ArrowError
impl Display for ArrowError
source§impl Error for ArrowError
impl Error for ArrowError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for ArrowError
impl From<Error> for ArrowError
source§fn from(error: Error) -> ArrowError
fn from(error: Error) -> ArrowError
Converts to this type from the input type.
source§impl From<FromUtf8Error> for ArrowError
impl From<FromUtf8Error> for ArrowError
source§fn from(error: FromUtf8Error) -> ArrowError
fn from(error: FromUtf8Error) -> ArrowError
Converts to this type from the input type.
source§impl<W> From<IntoInnerError<W>> for ArrowErrorwhere
W: Write,
impl<W> From<IntoInnerError<W>> for ArrowErrorwhere
W: Write,
source§fn from(error: IntoInnerError<W>) -> ArrowError
fn from(error: IntoInnerError<W>) -> ArrowError
Converts to this type from the input type.