Enum polars::error::PolarsError
source · pub enum PolarsError {
ColumnNotFound(ErrString),
ComputeError(ErrString),
Duplicate(ErrString),
InvalidOperation(ErrString),
Io(Error),
NoData(ErrString),
OutOfBounds(ErrString),
SchemaFieldNotFound(ErrString),
SchemaMismatch(ErrString),
ShapeMismatch(ErrString),
StringCacheMismatch(ErrString),
StructFieldNotFound(ErrString),
}
Variants§
ColumnNotFound(ErrString)
ComputeError(ErrString)
Duplicate(ErrString)
InvalidOperation(ErrString)
Io(Error)
NoData(ErrString)
OutOfBounds(ErrString)
SchemaFieldNotFound(ErrString)
SchemaMismatch(ErrString)
ShapeMismatch(ErrString)
StringCacheMismatch(ErrString)
StructFieldNotFound(ErrString)
Implementations§
source§impl PolarsError
impl PolarsError
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
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 PolarsError
Available on crate feature regex
only.
impl From<Error> for PolarsError
Available on crate feature
regex
only.source§fn from(err: Error) -> PolarsError
fn from(err: Error) -> PolarsError
Converts to this type from the input type.
source§impl From<Error> for PolarsError
Available on crate feature arrow-format
only.
impl From<Error> for PolarsError
Available on crate feature
arrow-format
only.source§fn from(err: Error) -> PolarsError
fn from(err: Error) -> PolarsError
Converts to this type from the input type.
source§impl From<Error> for PolarsError
impl From<Error> for PolarsError
source§fn from(source: Error) -> PolarsError
fn from(source: Error) -> PolarsError
Converts to this type from the input type.
source§impl From<Error> for PolarsError
impl From<Error> for PolarsError
source§fn from(e: Error) -> PolarsError
fn from(e: Error) -> PolarsError
Converts to this type from the input type.
source§impl From<TryReserveError> for PolarsError
impl From<TryReserveError> for PolarsError
source§fn from(value: TryReserveError) -> PolarsError
fn from(value: TryReserveError) -> PolarsError
Converts to this type from the input type.
source§impl From<Utf8Error> for PolarsError
impl From<Utf8Error> for PolarsError
source§fn from(value: Utf8Error) -> PolarsError
fn from(value: Utf8Error) -> PolarsError
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
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