You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now all RHP4 routes which call DebitAccount will return an internal error when they fail for whatever reason. Since renters rely on proper errors we should change that behavior to be similar to CreditAccountWithContract.
When an account isn't found, or when the balance is insufficient, we should return an exported ErrInsufficientBalance. The renter then knows to fund the account to fix the error.
The text was updated successfully, but these errors were encountered:
Right now all RHP4 routes which call
DebitAccount
will return an internal error when they fail for whatever reason. Since renters rely on proper errors we should change that behavior to be similar toCreditAccountWithContract
.When an account isn't found, or when the balance is insufficient, we should return an exported
ErrInsufficientBalance
. The renter then knows to fund the account to fix the error.The text was updated successfully, but these errors were encountered: