Enum polars::error::ArrowError
[−]#[non_exhaustive]
pub enum ArrowError {
NotYetImplemented(String),
External(String, Box<dyn Error + Send + Sync + 'static, Global>),
Io(Error),
InvalidArgumentError(String),
ExternalFormat(String),
Overflow,
OutOfSpec(String),
}
Expand description
Enum with all errors in this crate.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
NotYetImplemented(String)
Returned when functionality is not yet available.
External(String, Box<dyn Error + Send + Sync + 'static, Global>)
Wrapper for an error triggered by a dependency
Io(Error)
Wrapper for IO errors
InvalidArgumentError(String)
When an invalid argument is passed to a function.
ExternalFormat(String)
Error during import or export to/from a format
Overflow
Whenever pushing to a container fails because it does not support more entries. The solution is usually to use a higher-capacity container-backing type.
OutOfSpec(String)
Whenever incoming data from the C data interface, IPC or Flight does not fulfil the Arrow specification.
Implementations
Trait Implementations
impl Error for Error
impl Error for Error
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<Error> for PolarsError
impl From<Error> for PolarsError
sourcefn from(err: Error) -> PolarsError
fn from(err: Error) -> PolarsError
Converts to this type from the input type.
impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
fn from(error: FromUtf8Error) -> Error
fn from(error: FromUtf8Error) -> Error
Converts to this type from the input type.
impl From<OutOfSpecKind> for Error
impl From<OutOfSpecKind> for Error
fn from(kind: OutOfSpecKind) -> Error
fn from(kind: OutOfSpecKind) -> Error
Converts to this type from the input type.
impl From<TryReserveError> for Error
impl From<TryReserveError> for Error
fn from(TryReserveError) -> Error
fn from(TryReserveError) -> Error
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more