pub enum UnityCatalogError {
Show 14 variants
RequestError {
source: Error,
},
RequestMiddlewareError {
source: Error,
},
InvalidTable {
error_code: String,
message: String,
},
InvalidHeader {
header_error: InvalidHeaderValue,
},
InvalidTableURI {
table_uri: String,
},
MissingConfiguration(String),
MissingCredential,
TemporaryCredentialsFetchFailure {
error_code: String,
message: String,
},
AzureCli {
message: String,
},
FederatedTokenFile,
DatafusionError(DataFusionError),
InitializationError,
Generic {
source: Box<dyn Error + Send + Sync + 'static>,
},
InvalidCredentials(TokenErrorResponse),
}Expand description
Possible errors from the unity-catalog/tables API call
Variants§
RequestError
Error from reqwest library
RequestMiddlewareError
InvalidTable
Request returned error response
InvalidHeader
Fields
§
header_error: InvalidHeaderValueInvalidTableURI
Invalid Table URI
MissingConfiguration(String)
Unknown configuration key
MissingCredential
Unknown configuration key
TemporaryCredentialsFetchFailure
Temporary Credentials Fetch Failure
Fields
AzureCli
FederatedTokenFile
DatafusionError(DataFusionError)
InitializationError
Cannot initialize DynamoDbConfiguration due to some sort of threading issue
Generic
A generic error from a source
InvalidCredentials(TokenErrorResponse)
Trait Implementations§
Source§impl Debug for UnityCatalogError
impl Debug for UnityCatalogError
Source§impl Display for UnityCatalogError
impl Display for UnityCatalogError
Source§impl Error for UnityCatalogError
impl Error for UnityCatalogError
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<DataCatalogError> for UnityCatalogError
impl From<DataCatalogError> for UnityCatalogError
Source§fn from(value: DataCatalogError) -> Self
fn from(value: DataCatalogError) -> Self
Converts to this type from the input type.
Source§impl From<DataFusionError> for UnityCatalogError
impl From<DataFusionError> for UnityCatalogError
Source§fn from(source: DataFusionError) -> Self
fn from(source: DataFusionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for UnityCatalogError
impl From<Error> for UnityCatalogError
Source§impl From<Error> for UnityCatalogError
impl From<Error> for UnityCatalogError
Source§impl From<ErrorResponse> for UnityCatalogError
impl From<ErrorResponse> for UnityCatalogError
Source§fn from(value: ErrorResponse) -> Self
fn from(value: ErrorResponse) -> Self
Converts to this type from the input type.
Source§impl From<InvalidHeaderValue> for UnityCatalogError
impl From<InvalidHeaderValue> for UnityCatalogError
Source§fn from(source: InvalidHeaderValue) -> Self
fn from(source: InvalidHeaderValue) -> Self
Converts to this type from the input type.
Source§impl From<UnityCatalogError> for DataCatalogError
impl From<UnityCatalogError> for DataCatalogError
Source§fn from(value: UnityCatalogError) -> Self
fn from(value: UnityCatalogError) -> Self
Converts to this type from the input type.
Source§impl From<UnityCatalogError> for DeltaTableError
impl From<UnityCatalogError> for DeltaTableError
Source§fn from(value: UnityCatalogError) -> Self
fn from(value: UnityCatalogError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnityCatalogError
impl !RefUnwindSafe for UnityCatalogError
impl Send for UnityCatalogError
impl Sync for UnityCatalogError
impl Unpin for UnityCatalogError
impl UnsafeUnpin for UnityCatalogError
impl !UnwindSafe for UnityCatalogError
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
Obtains a
dyn Any reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>
fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>
Obtains an
Arc<dyn Any> reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
Converts the object to
Box<dyn Any>: Read moreSource§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
Convenient wrapper for
std::any::type_name, since Any does not provide it and
Any::type_id is useless as a debugging aid (its Debug is just a mess of hex digits).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 moreCreates a shared type from an unshared type.
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§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.
Source§impl<KernelType, ArrowType> TryIntoArrow<ArrowType> for KernelTypewhere
ArrowType: TryFromKernel<KernelType>,
impl<KernelType, ArrowType> TryIntoArrow<ArrowType> for KernelTypewhere
ArrowType: TryFromKernel<KernelType>,
fn try_into_arrow(self) -> Result<ArrowType, ArrowError>
Source§impl<KernelType, ArrowType> TryIntoKernel<KernelType> for ArrowTypewhere
KernelType: TryFromArrow<ArrowType>,
impl<KernelType, ArrowType> TryIntoKernel<KernelType> for ArrowTypewhere
KernelType: TryFromArrow<ArrowType>,
fn try_into_kernel(self) -> Result<KernelType, ArrowError>
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP