Gets the exception from the OnError notification.
(Any): The Exception from the OnError notification.
{% if book.isPdf %}
var notification = Rx.Notification.createOnError(new Error('invalid'));
console.log(notification.exception);
// => Error: invalid
{% else %}
{% endif %}
{% if book.isPdf %}
{% else %}
- rx.js
{% endif %}