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
The current examples simply unwrap everything, causing them to panic on the slightest error.
Would be nice to have an example to show how error handling should be done (say, doing an invoice on one node and paying it from another?), matching expected errors against the error::RpcErrorCode enum.
The text was updated successfully, but these errors were encountered:
The current examples simply unwrap everything, causing them to panic on the slightest error.
Would be nice to have an example to show how error handling should be done (say, doing an invoice on one node and paying it from another?), matching expected errors against the
error::RpcErrorCode
enum.The text was updated successfully, but these errors were encountered: