Enum brb_dt_at2::bank::ValidationError [−][src]
pub enum ValidationError { NotInitiatedByAccountOwner, FromAccountDoesNotExist, ToAccountDoesNotExist, InsufficientFunds { balance: Money, transfer_amount: Money, }, MissingDependentOps, OwnerAlreadyHasAnAccount, }
Expand description
Enumeration of AT2 validation errors
Variants
The actor that initiated the operation does not match the account owner
The From account does not exist
The To account does not exist
Insufficient funds
Show fields
Missing dependent ops
Owner already has an account
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError