pub enum CatalogError {
Show 14 variants
TableNotFound {
name: String,
},
TableAlreadyExists {
name: String,
},
SchemaNotFound {
name: String,
},
InvalidSchema {
message: String,
},
InvalidConfiguration {
message: String,
},
Transport {
operation: String,
message: String,
},
Http {
status: u16,
message: String,
},
InvalidResponse {
operation: String,
message: String,
},
ResponseTooLarge {
operation: String,
limit_bytes: usize,
},
UnsupportedOperation {
operation: String,
},
Io(String),
Iceberg(String),
ConcurrencyConflict {
message: String,
},
NamespaceNotFound {
name: String,
},
}Expand description
Errors produced by catalog operations.
Variants§
TableNotFound
A requested table was not found in the catalog.
TableAlreadyExists
Table already exists and if_not_exists was false.
SchemaNotFound
A requested schema was not found.
InvalidSchema
The provided schema is structurally invalid.
InvalidConfiguration
Remote catalog configuration is malformed or unsafe.
Transport
A remote catalog request could not be completed.
Http
An HTTP request to a remote catalog service failed.
InvalidResponse
A successful remote response did not satisfy the catalog contract.
ResponseTooLarge
A remote response exceeded the configured memory ceiling.
UnsupportedOperation
The server explicitly does not advertise a required endpoint.
Io(String)
A filesystem / object-store I/O error.
Iceberg(String)
An error surfaced by the underlying Iceberg library.
ConcurrencyConflict
An optimistic-concurrency commit lost a race with another writer.
NamespaceNotFound
A requested namespace was not found.
Trait Implementations§
Source§impl Debug for CatalogError
impl Debug for CatalogError
Source§impl Display for CatalogError
impl Display for CatalogError
Source§impl Error for CatalogError
impl Error for CatalogError
1.30.0 · 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
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CatalogError
impl RefUnwindSafe for CatalogError
impl Send for CatalogError
impl Sync for CatalogError
impl Unpin for CatalogError
impl UnsafeUnpin for CatalogError
impl UnwindSafe for CatalogError
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request