[feature]: More Descriptive Error on Attempted Spend from Reserve #8957
Labels
beginner
Issues suitable for new developers
enhancement
Improvements to existing features / behaviour
logging
Related to the logging / debug output functionality
payments
Related to invoices/payments
UI
Related to the User Interface
Is your feature request related to a problem? Please describe.
I've heard from developers that users get frustrated when they're onboarding to Lightning, set up a channel, then try to spend the an amount below the reserve threshold of that channel, but run into the channel reserve requirement. When they try to spend the full amount, the error returns as
insufficient balance
. The developer who flagged this actually believes that it could be impacting initial Lightning usage as people try Lightning out, it fails and they just move on.Describe the solution you'd like
It would be nice to have a more descriptive error here like
Cannot Spend due to Channel Reserve
or something along those lines. This would allow for developers to give more context to end users about what went wrong and better educate them on how to use Lightning.Additional context
Comes from the Voltage team
The text was updated successfully, but these errors were encountered: