pub enum ElusionError {
Show 22 variants
MissingColumnWithContext {
column: String,
available_columns: Vec<String>,
context: String,
location: String,
suggestion: String,
},
MissingColumn {
column: String,
available_columns: Vec<String>,
},
InvalidDataType {
column: String,
expected: String,
found: String,
},
DuplicateColumn {
column: String,
locations: Vec<String>,
},
InvalidOperation {
operation: String,
reason: String,
suggestion: String,
},
SchemaError {
message: String,
schema: Option<String>,
suggestion: String,
},
JoinError {
message: String,
left_table: String,
right_table: String,
suggestion: String,
},
GroupByError {
message: String,
invalid_columns: Vec<String>,
suggestion: String,
function_context: Option<String>,
},
WriteError {
path: String,
operation: String,
reason: String,
suggestion: String,
},
PartitionError {
message: String,
partition_columns: Vec<String>,
suggestion: String,
},
AggregationError {
message: String,
function: String,
column: String,
suggestion: String,
},
OrderByError {
message: String,
columns: Vec<String>,
suggestion: String,
},
WindowFunctionError {
message: String,
function: String,
details: String,
suggestion: String,
},
LimitError {
message: String,
value: u64,
suggestion: String,
},
SetOperationError {
operation: String,
reason: String,
suggestion: String,
},
GroupByAllCompatibilityError {
missing_columns: Vec<String>,
window_function_dependencies: Vec<(String, String)>,
suggestion: String,
},
GroupByAllWindowError {
missing_column: String,
window_function_context: String,
suggestion: String,
},
GroupByAllDependencyError {
missing_column: String,
dependency_context: String,
suggestion: String,
},
DataFusion(DataFusionError),
Io(Error),
OneLakeError(String),
Custom(String),
}Variants§
MissingColumnWithContext
Fields
MissingColumn
InvalidDataType
DuplicateColumn
InvalidOperation
SchemaError
JoinError
GroupByError
Fields
WriteError
PartitionError
AggregationError
OrderByError
WindowFunctionError
LimitError
SetOperationError
GroupByAllCompatibilityError
Fields
GroupByAllWindowError
GroupByAllDependencyError
DataFusion(DataFusionError)
Io(Error)
OneLakeError(String)
Custom(String)
Trait Implementations§
Source§impl Debug for ElusionError
impl Debug for ElusionError
Source§impl Display for ElusionError
impl Display for ElusionError
Source§impl Error for ElusionError
impl Error for ElusionError
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<DataFusionError> for ElusionError
impl From<DataFusionError> for ElusionError
Source§fn from(err: DataFusionError) -> Self
fn from(err: DataFusionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ElusionError
impl !RefUnwindSafe for ElusionError
impl Send for ElusionError
impl Sync for ElusionError
impl Unpin for ElusionError
impl UnsafeUnpin for ElusionError
impl !UnwindSafe for ElusionError
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
Obtains a
dyn Any reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>
fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>
Obtains an
Arc<dyn Any> reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
Converts the object to
Box<dyn Any>: Read moreSource§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
Convenient wrapper for
std::any::type_name, since Any does not provide it and
Any::type_id is useless as a debugging aid (its Debug is just a mess of hex digits).Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.
Source§impl<KernelType, ArrowType> TryIntoArrow<ArrowType> for KernelTypewhere
ArrowType: TryFromKernel<KernelType>,
impl<KernelType, ArrowType> TryIntoArrow<ArrowType> for KernelTypewhere
ArrowType: TryFromKernel<KernelType>,
fn try_into_arrow(self) -> Result<ArrowType, ArrowError>
Source§impl<KernelType, ArrowType> TryIntoKernel<KernelType> for ArrowTypewhere
KernelType: TryFromArrow<ArrowType>,
impl<KernelType, ArrowType> TryIntoKernel<KernelType> for ArrowTypewhere
KernelType: TryFromArrow<ArrowType>,
fn try_into_kernel(self) -> Result<KernelType, ArrowError>
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP