Enum polars_core::error::ArrowError  
source · [−]#[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
sourceimpl ArrowError
 
impl ArrowError
sourcepub 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
sourceimpl Debug for ArrowError
 
impl Debug for ArrowError
sourceimpl Display for ArrowError
 
impl Display for ArrowError
sourceimpl Error for ArrowError
 
impl Error for ArrowError
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
sourcefn backtrace(&self) -> Option<&Backtrace>
 
fn backtrace(&self) -> Option<&Backtrace>
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
 
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<ArrowError> for PolarsError
 
impl From<ArrowError> for PolarsError
sourcefn from(err: ArrowError) -> Self
 
fn from(err: ArrowError) -> Self
Performs the conversion.
sourceimpl From<Error> for ArrowError
 
impl From<Error> for ArrowError
sourcefn from(error: Error) -> ArrowError
 
fn from(error: Error) -> ArrowError
Performs the conversion.
sourceimpl From<Error> for ArrowError
 
impl From<Error> for ArrowError
sourcefn from(error: Error) -> ArrowError
 
fn from(error: Error) -> ArrowError
Performs the conversion.
sourceimpl From<Error> for ArrowError
 
impl From<Error> for ArrowError
sourcefn from(error: Error) -> ArrowError
 
fn from(error: Error) -> ArrowError
Performs the conversion.
sourceimpl From<Error> for ArrowError
 
impl From<Error> for ArrowError
sourcefn from(error: Error) -> ArrowError
 
fn from(error: Error) -> ArrowError
Performs the conversion.
sourceimpl From<ParquetError> for ArrowError
 
impl From<ParquetError> for ArrowError
sourcefn from(error: ParquetError) -> ArrowError
 
fn from(error: ParquetError) -> ArrowError
Performs the conversion.
sourceimpl From<ParseError> for ArrowError
 
impl From<ParseError> for ArrowError
sourcefn from(error: ParseError) -> ArrowError
 
fn from(error: ParseError) -> ArrowError
Performs the conversion.
sourceimpl From<Utf8Error> for ArrowError
 
impl From<Utf8Error> for ArrowError
sourcefn from(error: Utf8Error) -> ArrowError
 
fn from(error: Utf8Error) -> ArrowError
Performs the conversion.
sourceimpl From<Utf8Error> for ArrowError
 
impl From<Utf8Error> for ArrowError
sourcefn from(error: Utf8Error) -> ArrowError
 
fn from(error: Utf8Error) -> ArrowError
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ArrowError
impl Send for ArrowError
impl Sync for ArrowError
impl Unpin for ArrowError
impl !UnwindSafe for ArrowError
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