pub enum PolarsError {
Show 15 variants
ColumnNotFound(ErrString),
ComputeError(ErrString),
Duplicate(ErrString),
InvalidOperation(ErrString),
IO {
error: Arc<Error>,
msg: Option<ErrString>,
},
NoData(ErrString),
OutOfBounds(ErrString),
SchemaFieldNotFound(ErrString),
SchemaMismatch(ErrString),
ShapeMismatch(ErrString),
SQLInterface(ErrString),
SQLSyntax(ErrString),
StringCacheMismatch(ErrString),
StructFieldNotFound(ErrString),
Context {
error: Box<PolarsError>,
msg: ErrString,
},
}
Variants§
ColumnNotFound(ErrString)
ComputeError(ErrString)
Duplicate(ErrString)
InvalidOperation(ErrString)
IO
NoData(ErrString)
OutOfBounds(ErrString)
SchemaFieldNotFound(ErrString)
SchemaMismatch(ErrString)
ShapeMismatch(ErrString)
SQLInterface(ErrString)
SQLSyntax(ErrString)
StringCacheMismatch(ErrString)
StructFieldNotFound(ErrString)
Context
Implementations§
Trait Implementations§
Source§impl Debug for PolarsError
impl Debug for PolarsError
Source§impl Display for PolarsError
impl Display for PolarsError
Source§impl Error for PolarsError
impl Error for PolarsError
1.30.0 · 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<Error> for PolarsError
impl From<Error> for PolarsError
Source§impl From<TryReserveError> for PolarsError
impl From<TryReserveError> for PolarsError
Source§fn from(value: TryReserveError) -> Self
fn from(value: TryReserveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PolarsError
impl !RefUnwindSafe for PolarsError
impl Send for PolarsError
impl Sync for PolarsError
impl Unpin for PolarsError
impl !UnwindSafe for PolarsError
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