Rx.helpers.defaultError(err)
Throws the specified error
Arguments
err
(Any): The error to throw
Example
var defaultError = Rx.helpers.defaultError;
// Returns its value
defaultError(new Error('woops'))
// => Error: woops