Enum b3_users::error::UserStateError
source · pub enum UserStateError {
Show 19 variants
UnknownError,
InvalidData,
CallerNotAuthorized,
CallerIsNotOwner,
CallerIsNotWalletCanister,
UserNotFound,
UserAlreadyExists,
PublicKeyMismatch,
AddressNotFound,
AddressAlreadyExists,
ChainNotFound,
ChainAlreadyExists,
TransactionNotFound,
AddressLimitReached,
InvalidAddressKey,
SettingNotFound,
PasswordHashError,
PasswordIsInvalid,
PasswordNotSet,
}Expand description
Represents errors that can occur when working with the state.
Variants§
UnknownError
InvalidData
CallerNotAuthorized
CallerIsNotOwner
CallerIsNotWalletCanister
UserNotFound
UserAlreadyExists
PublicKeyMismatch
AddressNotFound
AddressAlreadyExists
ChainNotFound
ChainAlreadyExists
TransactionNotFound
AddressLimitReached
InvalidAddressKey
SettingNotFound
PasswordHashError
PasswordIsInvalid
PasswordNotSet
Trait Implementations§
source§impl CandidType for UserStateError
impl CandidType for UserStateError
source§impl Debug for UserStateError
impl Debug for UserStateError
source§impl From<UserStateError> for (RejectionCode, String)
impl From<UserStateError> for (RejectionCode, String)
source§fn from(error: UserStateError) -> Self
fn from(error: UserStateError) -> Self
Converts to this type from the input type.