Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 626 Bytes

File metadata and controls

37 lines (20 loc) · 626 Bytes

Gets the exception from the OnError notification.

Returns

(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 %}

Example

{% endif %}

{% if book.isPdf %}

{% else %}

Location

  • rx.js

{% endif %}