pub enum LakeError {
Show 30 variants
QueryNotAdmissible,
GovernanceEvidenceConflict,
OutputAuthority(CoreError),
DatasetOutputOccupied,
Scratch(ScratchError),
EmptyLakeRoot,
EmptyCredential {
kind: &'static str,
},
InvalidCredentialEncoding,
InvalidDatastorePrefix,
IncompleteCatalogIdentity,
InvalidObjectStorageIdentity,
NamespaceNotEmpty,
IncompatibleStorageAuthentication,
AmbientStorageAuthority {
name: String,
},
MissingWorkloadIdentitySource {
kind: &'static str,
},
WorkloadIdentityUnavailable,
CredentialProjectionFailed,
CustomTlsRequiresOpen,
PersistedDataPathMismatch,
UnsupportedEncryptionMode(EncryptionMode),
InvalidMetadataValue {
key: &'static str,
value: String,
},
InvalidFileName {
path: String,
},
InvalidDataFileMetadata {
field: &'static str,
message: String,
},
DataFileAlreadyExists {
storage_relative_path: String,
},
PhysicalRollback {
operation: String,
rollback: String,
},
Io(Error),
Crypto(ErrorStack),
Arrow(ArrowError),
Tabular(TabularError),
DuckDb(Error),
}Expand description
Errors produced while attaching DuckLake catalogs or moving lake files.
Variants§
QueryNotAdmissible
GovernanceEvidenceConflict
OutputAuthority(CoreError)
DatasetOutputOccupied
Scratch(ScratchError)
EmptyLakeRoot
EmptyCredential
InvalidCredentialEncoding
InvalidDatastorePrefix
IncompleteCatalogIdentity
InvalidObjectStorageIdentity
NamespaceNotEmpty
IncompatibleStorageAuthentication
AmbientStorageAuthority
MissingWorkloadIdentitySource
CredentialProjectionFailed
CustomTlsRequiresOpen
PersistedDataPathMismatch
UnsupportedEncryptionMode(EncryptionMode)
InvalidMetadataValue
InvalidFileName
InvalidDataFileMetadata
DataFileAlreadyExists
PhysicalRollback
Io(Error)
Crypto(ErrorStack)
Arrow(ArrowError)
Tabular(TabularError)
DuckDb(Error)
Implementations§
Trait Implementations§
Source§impl Error for LakeError
impl Error for LakeError
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<ErrorStack> for LakeError
impl From<ErrorStack> for LakeError
Source§fn from(source: ErrorStack) -> Self
fn from(source: ErrorStack) -> Self
Converts to this type from the input type.
Source§impl From<ScratchError> for LakeError
impl From<ScratchError> for LakeError
Source§fn from(source: ScratchError) -> Self
fn from(source: ScratchError) -> Self
Converts to this type from the input type.
Source§impl From<TabularError> for LakeError
impl From<TabularError> for LakeError
Source§fn from(source: TabularError) -> Self
fn from(source: TabularError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LakeError
impl !RefUnwindSafe for LakeError
impl Send for LakeError
impl Sync for LakeError
impl Unpin for LakeError
impl UnsafeUnpin for LakeError
impl !UnwindSafe for LakeError
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
Mutably borrows from an owned value. Read more