Home > kibana-plugin-core-server > IRouter > handleLegacyErrors
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>;