pub enum TidyError {
ColumnNotFound(String),
DuplicateColumn(String),
PredicateNotBool {
got: String,
},
TypeMismatch {
expected: String,
got: String,
},
LengthMismatch {
expected: usize,
got: usize,
},
Internal(String),
EmptyGroup,
}Expand description
Error type for TidyView operations.
Variants§
ColumnNotFound(String)
Column not found in the base DataFrame.
DuplicateColumn(String)
Duplicate column name in select/mutate.
PredicateNotBool
Filter predicate didn’t evaluate to Bool.
TypeMismatch
Type mismatch in expression evaluation.
LengthMismatch
Length mismatch (e.g., broadcast failure).
Internal(String)
Internal error.
EmptyGroup
Aggregation on an empty group.
Trait Implementations§
Source§impl Error for TidyError
impl Error for TidyError
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()
Auto Trait Implementations§
impl Freeze for TidyError
impl RefUnwindSafe for TidyError
impl Send for TidyError
impl Sync for TidyError
impl Unpin for TidyError
impl UnsafeUnpin for TidyError
impl UnwindSafe for TidyError
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