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