Enum arrow_schema::ArrowError
source · pub enum ArrowError {
Show 17 variants
NotYetImplemented(String),
ExternalError(Box<dyn Error + Send + Sync>),
CastError(String),
MemoryError(String),
ParseError(String),
SchemaError(String),
ComputeError(String),
DivideByZero,
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
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
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)>
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§impl From<FromUtf8Error> for ArrowError
impl From<FromUtf8Error> for ArrowError
source§fn from(error: FromUtf8Error) -> Self
fn from(error: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl<W: Write> From<IntoInnerError<W>> for ArrowError
impl<W: Write> From<IntoInnerError<W>> for ArrowError
source§fn from(error: IntoInnerError<W>) -> Self
fn from(error: IntoInnerError<W>) -> Self
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> 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