Function createErrorMiddleware
- createErrorMiddleware(
responseFactory: ResponseFactory,
debug?: boolean,
logger?: Logger,
mapToHttpError?: MapToHttpError,
): Middleware Parameters
- responseFactory: ResponseFactory
- debug: boolean = false
- logger: Logger = ...
- mapToHttpError: MapToHttpError = defaultMapToHttpError
Returns Middleware