* expose route info in KibanaRequest * update mocks in test * make tags readonly, getRouteInfo is private method * add mocks for hapi internals * mode deepFreeze to core utils level as it env agnostic * freeze route props * fix typo * add tests for route options * fix integration tests. deep_freeze was moved under core utils * add comments, expose public types and regenerate docs * address comment. remove unnecessary async in route handlers * make routeSchema optional instead of union with undefined * @skaapgif improvements * update docs
1 KiB
1 KiB
Home > kibana-plugin-public > FatalErrorsSetup
FatalErrorsSetup interface
FatalErrors stop the Kibana Public Core and displays a fatal error screen with details about the Kibana build and the error.
Signature:
export interface FatalErrorsSetup
Properties
Property | Type | Description |
---|---|---|
add | (error: string | Error, source?: string) => never |
Add a new fatal error. This will stop the Kibana Public Core and display a fatal error screen with details about the Kibana build and the error. |
get$ | () => Rx.Observable<FatalErrorInfo> |
An Observable that will emit whenever a fatal error is added with add() |