Throws the specified error
err (Any): The error to throw
err
var defaultError = Rx.helpers.defaultError; // Returns its value defaultError(new Error('woops')) // => Error: woops
Last updated 5 years ago
Was this helpful?