pub enum IngestionError {
Io(Error),
Csv(Error),
Parquet(ParquetError),
Engine {
message: String,
source: Box<dyn StdError + Send + Sync + 'static>,
},
SchemaMismatch {
message: String,
},
ParseError {
row: usize,
column: String,
raw: String,
message: String,
},
}Expand description
Error type returned by ingestion functions.
This is a single error enum shared across CSV/JSON/Parquet/Excel ingestion.
Variants§
Io(Error)
Underlying I/O error (e.g. file not found, permission denied).
Csv(Error)
CSV ingestion error.
Parquet(ParquetError)
Parquet ingestion error.
Engine
Underlying engine error (e.g. Polars, optional SQL engine), preserved with a source chain.
This is used when the engine produces a structured error that callers may want to inspect
or log in detail. The top-level message is a stable, human-readable summary, while the
original engine error is preserved via std::error::Error::source.
SchemaMismatch
The input does not conform to the provided schema (missing required fields/columns, etc.).
ParseError
A value could not be parsed into the required crate::types::DataType.
Trait Implementations§
Source§impl Debug for IngestionError
impl Debug for IngestionError
Source§impl Display for IngestionError
impl Display for IngestionError
Source§impl Error for IngestionError
impl Error for IngestionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<Error> for IngestionError
impl From<Error> for IngestionError
Source§impl From<Error> for IngestionError
impl From<Error> for IngestionError
Auto Trait Implementations§
impl Freeze for IngestionError
impl !RefUnwindSafe for IngestionError
impl Send for IngestionError
impl Sync for IngestionError
impl Unpin for IngestionError
impl !UnwindSafe for IngestionError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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> ⓘ
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> ⓘ
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString]. Read more§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.