Page Contents

Home > @loopback/rest > RestServer > _unexpectedErrorHandler

RestServer._unexpectedErrorHandler() method

Get an Express handler for unexpected errors

Signature:

protected _unexpectedErrorHandler(): ErrorRequestHandler;

Returns:

ErrorRequestHandler