Enum sol_did::errors::DidSolError
source · #[repr(u32)]
pub enum DidSolError {
Show 13 variants
VmFragmentNotFound,
VmFragmentAlreadyInUse,
VmOwnershipOnAdd,
VmCannotRemoveLastAuthority,
ServiceFragmentAlreadyInUse,
ServiceFragmentNotFound,
InvalidOtherControllers,
InvalidNativeControllers,
InsufficientInitialSize,
ConversionError,
InvalidControllerChain,
ErrorValidatingSecp256k1Signature,
WrongAuthorityForDid,
}Variants§
VmFragmentNotFound
VmFragmentAlreadyInUse
VmOwnershipOnAdd
VmCannotRemoveLastAuthority
ServiceFragmentAlreadyInUse
ServiceFragmentNotFound
InvalidOtherControllers
InvalidNativeControllers
InsufficientInitialSize
ConversionError
InvalidControllerChain
ErrorValidatingSecp256k1Signature
WrongAuthorityForDid
Implementations§
Trait Implementations§
source§impl Clone for DidSolError
impl Clone for DidSolError
source§fn clone(&self) -> DidSolError
fn clone(&self) -> DidSolError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DidSolError
impl Debug for DidSolError
source§impl Display for DidSolError
impl Display for DidSolError
source§impl From<DidSolError> for Error
impl From<DidSolError> for Error
source§fn from(error_code: DidSolError) -> Error
fn from(error_code: DidSolError) -> Error
Converts to this type from the input type.
source§impl From<DidSolError> for u32
impl From<DidSolError> for u32
source§fn from(e: DidSolError) -> u32
fn from(e: DidSolError) -> u32
Converts to this type from the input type.