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()
Source§impl From<Error> for TribeError
impl From<Error> for TribeError
Source§fn from(source: Error) -> TribeError
fn from(source: Error) -> TribeError
Converts to this type from the input type.
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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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 more