Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 565 Bytes

kibana-plugin-core-server.irouter.handlelegacyerrors.md

File metadata and controls

13 lines (8 loc) · 565 Bytes

Home > kibana-plugin-core-server > IRouter > handleLegacyErrors

IRouter.handleLegacyErrors property

Wrap a router handler to catch and converts legacy boom errors to proper custom errors.

Signature:

handleLegacyErrors: <P, Q, B>(handler: RequestHandler<P, Q, B>) => RequestHandler<P, Q, B>;