pub enum FeatureFactoryError {
IoError(Error),
DataFusionError(DataFusionError),
ArrowError(ArrowError),
ParquetError(ParquetError),
InvalidParameter(String),
UnsupportedFormat(String),
NotImplemented(String),
MissingColumn(String),
FitNotCalled,
}Expand description
Errors specific to the Feature Factory library.
Variants§
IoError(Error)
Wraps underlying I/O errors.
DataFusionError(DataFusionError)
Wraps errors from DataFusion.
ArrowError(ArrowError)
Wraps errors from Arrow.
ParquetError(ParquetError)
Wraps errors from Parquet.
InvalidParameter(String)
Indicates that an invalid parameter was provided (e.g., unsupported value or incorrect data type).
UnsupportedFormat(String)
Indicates that the provided data format is unsupported (e.g., unknown file format).
NotImplemented(String)
Indicates a feature or functionality has not yet been implemented.
MissingColumn(String)
Indicates that the specified column does not exist in the DataFrame.
FitNotCalled
Indicates the transform method was called before calling fit for a stateful transformer.
Trait Implementations§
Source§impl Debug for FeatureFactoryError
impl Debug for FeatureFactoryError
Source§impl Display for FeatureFactoryError
impl Display for FeatureFactoryError
Source§impl Error for FeatureFactoryError
impl Error for FeatureFactoryError
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<ArrowError> for FeatureFactoryError
impl From<ArrowError> for FeatureFactoryError
Source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<DataFusionError> for FeatureFactoryError
impl From<DataFusionError> for FeatureFactoryError
Source§fn from(source: DataFusionError) -> Self
fn from(source: DataFusionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for FeatureFactoryError
impl From<Error> for FeatureFactoryError
Source§impl From<ParquetError> for FeatureFactoryError
impl From<ParquetError> for FeatureFactoryError
Source§fn from(source: ParquetError) -> Self
fn from(source: ParquetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FeatureFactoryError
impl !RefUnwindSafe for FeatureFactoryError
impl Send for FeatureFactoryError
impl Sync for FeatureFactoryError
impl Unpin for FeatureFactoryError
impl !UnwindSafe for FeatureFactoryError
Blanket Implementations§
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 more