Public Singleton constructor. Called by the Catch decorator to link this Queue into the Router and to access the trapped and traps properties.
Static
Readonly
[provide]Magic string by which this class is provided.
Readonly
trappedReadonly
trapsPrivate
Readonly
routerOverridden handle method of the Queue base class. Iterates all
Router.Segments of the next
Router.State and collects all
traps for any encountered Components in those iterated
Router.Segments.
The _prev
iously active Router.State (ignored).
The next
Router.State Router.navigated to.
The next Queue to handle the navigation.
An Observable of the handled Router.State.
Private
handlehandleErrors helper method returning an Observable from the
global window.onerror
and window.unhandledrejection
event emitters. The
returned Observable will either NEVER complete or invoke
throwError with any globally emitted ErrorEvent or the
reason for a PromiseRejectionEvent while subscribed to.
An Observable that NEVER completes.
An Observable of any globally emitted error or rejection.
Generated using TypeDoc
This built-in CatchQueue extension of the Queue base class is used by the Catch decorator to intercept Router navigation events and handles all errors thrown during the asynchronous evaluation of Router.navigate invocations. When the Catch decorator is applied at least once this CatchQueue will be automatically provided as Queue to the Linker-
Decorator
Singleton
See
Queue