Clarify error when user sends RUNE without accounting for gas fee
Context: The error handling for failed transactions due to insufficient balance is not explicit. Multiple integrators have encountered this error due to faulty transaction fee logic and have had to reach out for help to resolve. The error should clearly identify the problem so that the dev can fix their fee logic
Examples:
https://runescan.io/tx/CE9D4707BE11CF5C4DFBF2E6E841FF3308ACC698FA9E1D606CAAE5EF0AD6D142
https://runescan.io/tx/75F48DDD6A8599FCE495D083DEBDEC35311626DF39A899F313ADDDC33EC74652
Current behavior: When a user tries to send or msgDeposit RUNE in a quantity greater than their balance (usually because they are trying to send the full balance rather than leaving some to account for gas), they are met with an unclear Internal Error
. It is not immediately clear what the issue is or how to fix.
Desired behavior: It should be clear that the sent amount + gas > user balance. Something like Error: Insufficient account balance
or Error: Not enough RUNE remaining for gas