pub enum Error {
Show 32 variants
InvalidFormat(String),
Type(String, String),
Schema(String, String),
Conversion(String, String),
NotFound(String),
NotSupported(String),
CatalogNotFound,
External(Box<dyn Error + Send + Sync>),
Iceberg(Error),
Arrow(ArrowError),
Parquet(ParquetError),
Avro(Error),
Thrift(Error),
SQLParser(ParserError),
JSONSerde(Error),
Uuid(Error),
Url(ParseError),
IO(Error),
FuturesChannel(SendError),
TokioJoinError(JoinError),
ObjectStore(Error),
TryFromSlice(TryFromSliceError),
TryFromInt(TryFromIntError),
UTF8(Utf8Error),
FromUTF8(FromUtf8Error),
ParseInt(ParseIntError),
TableMetadataBuilder(TableMetadataBuilderError),
ViewMetadataBuilder(GeneralViewMetadataBuilderError),
VersionBuilder(VersionBuilderError),
CreateTableBuilder(CreateTableBuilderError),
CreateViewBuilder(CreateViewBuilderError),
CreateMaterializedViewBuilder(CreateMaterializedViewBuilderError),
}
Expand description
Iceberg error
Variants§
InvalidFormat(String)
Invalid format
Type(String, String)
Type error
Schema(String, String)
Schema error
Conversion(String, String)
Conversion error
NotFound(String)
Not found
NotSupported(String)
Not supported
CatalogNotFound
Not found in catalog
External(Box<dyn Error + Send + Sync>)
External error
Iceberg(Error)
Iceberg spec error
Arrow(ArrowError)
Arrow error
Parquet(ParquetError)
Parquet error
Avro(Error)
Avro error
Thrift(Error)
Thrift error
SQLParser(ParserError)
sql parser error
JSONSerde(Error)
Serde json
Uuid(Error)
Chrono parse
Url(ParseError)
Url parse
IO(Error)
Io error
FuturesChannel(SendError)
Channel error
TokioJoinError(JoinError)
Tokio error
ObjectStore(Error)
Objectstore error
TryFromSlice(TryFromSliceError)
Try from slice error
TryFromInt(TryFromIntError)
Try from int error
UTF8(Utf8Error)
Utf8 error
FromUTF8(FromUtf8Error)
from utf8 error
ParseInt(ParseIntError)
parse int error
TableMetadataBuilder(TableMetadataBuilderError)
table metadata builder
ViewMetadataBuilder(GeneralViewMetadataBuilderError)
view metadata builder
VersionBuilder(VersionBuilderError)
version builder
CreateTableBuilder(CreateTableBuilderError)
create table builder
CreateViewBuilder(CreateViewBuilderError)
create view builder
CreateMaterializedViewBuilder(CreateMaterializedViewBuilderError)
create view builder
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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 Error
impl From<ArrowError> for Error
Source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<CreateMaterializedViewBuilderError> for Error
impl From<CreateMaterializedViewBuilderError> for Error
Source§fn from(source: CreateMaterializedViewBuilderError) -> Self
fn from(source: CreateMaterializedViewBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<CreateTableBuilderError> for Error
impl From<CreateTableBuilderError> for Error
Source§fn from(source: CreateTableBuilderError) -> Self
fn from(source: CreateTableBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<CreateViewBuilderError> for Error
impl From<CreateViewBuilderError> for Error
Source§fn from(source: CreateViewBuilderError) -> Self
fn from(source: CreateViewBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ArrowError
impl From<Error> for ArrowError
Source§impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<GeneralViewMetadataBuilderError> for Error
impl From<GeneralViewMetadataBuilderError> for Error
Source§fn from(source: GeneralViewMetadataBuilderError) -> Self
fn from(source: GeneralViewMetadataBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<ParquetError> for Error
impl From<ParquetError> for Error
Source§fn from(source: ParquetError) -> Self
fn from(source: ParquetError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for Error
impl From<ParseError> for Error
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<ParserError> for Error
impl From<ParserError> for Error
Source§fn from(source: ParserError) -> Self
fn from(source: ParserError) -> Self
Converts to this type from the input type.
Source§impl From<TableMetadataBuilderError> for Error
impl From<TableMetadataBuilderError> for Error
Source§fn from(source: TableMetadataBuilderError) -> Self
fn from(source: TableMetadataBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for Error
impl From<TryFromIntError> for Error
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for Error
impl From<TryFromSliceError> for Error
Source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
Converts to this type from the input type.
Source§impl From<VersionBuilderError> for Error
impl From<VersionBuilderError> for Error
Source§fn from(source: VersionBuilderError) -> Self
fn from(source: VersionBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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 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.