[FEATURE] Catching uncaught ripple-lib errors and passing them back to the user