Explorar el Código

error: WalletInsufficientBalance error code added

aggstam hace 3 años
padre
commit
4b9ae20fa3
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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")]
     WalletTreeExists,
+    
+    #[error("Wallet insufficient balance")]
+    WalletInsufficientBalance,
 
     // ===================
     // wasm runtime errors