kibana/docs/development/core/public/kibana-plugin-public.fatalerrorssetup.md
Mikhail Shustov 53b133dd50
Route tags (#37344)
* 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
2019-06-06 15:49:37 +02:00

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()