Browse Source

error: WalletInsufficientBalance error code added

aggstam 3 years ago
parent
commit
4b9ae20fa3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/error.rs

+ 3 - 0
src/error.rs

@@ -235,6 +235,9 @@ pub enum Error {
 
 
     #[error("Merkle tree already exists in wallet")]
     #[error("Merkle tree already exists in wallet")]
     WalletTreeExists,
     WalletTreeExists,
+    
+    #[error("Wallet insufficient balance")]
+    WalletInsufficientBalance,
 
 
     // ===================
     // ===================
     // wasm runtime errors
     // wasm runtime errors