pub enum ServicesError {
Identity(String),
Registry(String),
Storage(String),
KvStore(String),
Messages(String),
Overlay(String),
Http(String),
Serialization(String),
Auth(AuthError),
Wallet(WalletError),
Primitives(PrimitivesError),
}Expand description
Unified error type for all service operations.
Variants§
Identity(String)
Identity service error.
Registry(String)
Registry service error.
Storage(String)
Storage service error.
KvStore(String)
Key-value store service error.
Messages(String)
Messages (BRC-77/78) error.
Overlay(String)
Overlay tools error.
Http(String)
HTTP transport error.
Serialization(String)
Serialization/deserialization error.
Auth(AuthError)
Error from the auth layer.
Wallet(WalletError)
Error from the wallet layer.
Primitives(PrimitivesError)
Error from the primitives layer.
Trait Implementations§
Source§impl Debug for ServicesError
impl Debug for ServicesError
Source§impl Display for ServicesError
impl Display for ServicesError
Source§impl Error for ServicesError
impl Error for ServicesError
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<AuthError> for ServicesError
impl From<AuthError> for ServicesError
Source§impl From<PrimitivesError> for ServicesError
impl From<PrimitivesError> for ServicesError
Source§fn from(source: PrimitivesError) -> Self
fn from(source: PrimitivesError) -> Self
Converts to this type from the input type.
Source§impl From<WalletError> for ServicesError
impl From<WalletError> for ServicesError
Source§fn from(source: WalletError) -> Self
fn from(source: WalletError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServicesError
impl RefUnwindSafe for ServicesError
impl Send for ServicesError
impl Sync for ServicesError
impl Unpin for ServicesError
impl UnsafeUnpin for ServicesError
impl UnwindSafe for ServicesError
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