pub enum IntegrationError {
AlreadyExists(String),
NotFound(String),
OperationFailed(String),
ValidationFailed(String),
DeserializationError(String),
LockError(String),
ConfigurationError(String),
}Expand description
Error type for tree tensor integration operations.
Variants§
AlreadyExists(String)
A node already exists at the target path.
NotFound(String)
No node exists at the target path.
OperationFailed(String)
The operation could not be completed.
ValidationFailed(String)
Input failed validation (dimensions, structure, or constraints).
DeserializationError(String)
Stored bytes could not be deserialized.
LockError(String)
A lock could not be acquired.
ConfigurationError(String)
The supplied configuration is invalid.
Implementations§
Source§impl IntegrationError
impl IntegrationError
Sourcepub fn configuration_error(msg: String) -> Self
pub fn configuration_error(msg: String) -> Self
Create a configuration error.
Trait Implementations§
Source§impl Debug for IntegrationError
impl Debug for IntegrationError
Source§impl Display for IntegrationError
impl Display for IntegrationError
Source§impl Error for IntegrationError
impl Error for IntegrationError
1.30.0 · 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<IntegrationError> for ExtensionError
impl From<IntegrationError> for ExtensionError
Source§fn from(err: IntegrationError) -> Self
fn from(err: IntegrationError) -> Self
Converts to this type from the input type.
Source§impl From<IntegrationError> for StoreError
impl From<IntegrationError> for StoreError
Source§fn from(e: IntegrationError) -> Self
fn from(e: IntegrationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntegrationError
impl RefUnwindSafe for IntegrationError
impl Send for IntegrationError
impl Sync for IntegrationError
impl Unpin for IntegrationError
impl UnsafeUnpin for IntegrationError
impl UnwindSafe for IntegrationError
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