Enum datafusion::common::arrow::error::ArrowError
source · pub enum ArrowError {
Show 18 variants
NotYetImplemented(String),
ExternalError(Box<dyn Error + Send + Sync>),
CastError(String),
MemoryError(String),
ParseError(String),
SchemaError(String),
ComputeError(String),
DivideByZero,
ArithmeticOverflow(String),
CsvError(String),
JsonError(String),
IoError(String, Error),
IpcError(String),
InvalidArgumentError(String),
ParquetError(String),
CDataInterface(String),
DictionaryKeyOverflowError,
RunEndIndexOverflowError,
}
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 + Send + Sync>)
CastError(String)
MemoryError(String)
ParseError(String)
SchemaError(String)
ComputeError(String)
DivideByZero
ArithmeticOverflow(String)
CsvError(String)
JsonError(String)
IoError(String, Error)
IpcError(String)
InvalidArgumentError(String)
ParquetError(String)
CDataInterface(String)
Error during import or export to/from the C Data Interface
DictionaryKeyOverflowError
RunEndIndexOverflowError
Implementations§
source§impl ArrowError
impl ArrowError
sourcepub fn from_external_error(error: Box<dyn Error + Send + Sync>) -> ArrowError
pub fn from_external_error(error: Box<dyn Error + Send + Sync>) -> 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
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ArrowError> for DataFusionError
impl From<ArrowError> for DataFusionError
source§fn from(e: ArrowError) -> DataFusionError
fn from(e: ArrowError) -> DataFusionError
Converts to this type from the input type.
source§impl From<DataFusionError> for ArrowError
impl From<DataFusionError> for ArrowError
source§fn from(e: DataFusionError) -> ArrowError
fn from(e: DataFusionError) -> ArrowError
Converts to this type from the input type.
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.
source§impl From<ParquetError> for ArrowError
impl From<ParquetError> for ArrowError
source§fn from(p: ParquetError) -> ArrowError
fn from(p: ParquetError) -> ArrowError
Converts to this type from the input type.
source§impl From<Utf8Error> for ArrowError
impl From<Utf8Error> for ArrowError
source§fn from(error: Utf8Error) -> ArrowError
fn from(error: Utf8Error) -> ArrowError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArrowError
impl !RefUnwindSafe for ArrowError
impl Send for ArrowError
impl Sync for ArrowError
impl Unpin for ArrowError
impl !UnwindSafe for ArrowError
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more