pub enum TribeError {
InvalidOperation(String),
ProofValidationFailed(String),
TensorError(String),
ChainBridgeError(String),
NetworkError(String),
ConfigError(String),
DeviceError(String),
SerializationError(String),
IoError(Error),
TensorNetworkError(String),
TensorNetworkFull,
}Expand description
Errors that can occur in PoT-O validator and related crates.
Variants§
InvalidOperation(String)
Invalid operation or state.
ProofValidationFailed(String)
Proof verification failed.
TensorError(String)
Tensor or MML operation failed.
ChainBridgeError(String)
Cross-chain or bridge operation failed.
NetworkError(String)
Network or RPC error.
ConfigError(String)
Invalid or missing configuration.
DeviceError(String)
Device or protocol error.
SerializationError(String)
Serialization or deserialization failed.
IoError(Error)
I/O error (e.g. file or network).
TensorNetworkError(String)
Tensor network operation failed or reached capacity
TensorNetworkFull
Tensor network is at maximum capacity
Trait Implementations§
Source§impl Debug for TribeError
impl Debug for TribeError
Source§impl Display for TribeError
impl Display for TribeError
Source§impl Error for TribeError
impl Error for TribeError
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()
Auto Trait Implementations§
impl Freeze for TribeError
impl !RefUnwindSafe for TribeError
impl Send for TribeError
impl Sync for TribeError
impl Unpin for TribeError
impl UnsafeUnpin for TribeError
impl !UnwindSafe for TribeError
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