Last updated
Last updated
There are different errors that could happen while using the WebLN APIs:
User denies access to WebLN
User cancels the process
Connection errors
Payment errors
When an error happens during a WebLN API call the exception is thrown. Thus it is heavily recommended to handle different kinds of errors and let the user know what went wrong.