An event published by a Router when an error was thrown by a component or by a data loader.

interface ErrorEvent {
    controller: RouteController<any, any, any>;
    error: any;
    type: "error";
}

Properties

Properties

controller: RouteController<any, any, any>

A controller from which an event originates.

error: any

An error that was thrown.

type

The event type.