Hello i would like to ask how can i handle errors in a clean way.
In particular I need to catchMax. connection attempts exceeded but it seems that the xrpClient doesn't throw an error ( Maybe i am wrong ).
Also i tried to subscribe to different websocket or eventemitter events, but i am not sure how to handle this situation with them.
Is it possible to get an example?
Explanation
Hello i would like to ask how can i handle errors in a clean way. In particular I need to
catch
Max. connection attempts exceeded
but it seems that the xrpClient doesn't throw an error ( Maybe i am wrong ). Also i tried to subscribe to different websocket or eventemitter events, but i am not sure how to handle this situation with them. Is it possible to get an example?Code
Error