jimpex
    Preparing search index...

    Class ErrorHandler

    Creates a middleware that handles errors and generates the responses.

    Index

    Constructors

    Properties

    _HTTPError: typeof HTTPError

    The Error class used by the "known errors".

    _logger: SimpleLogger

    The service that will log the messages in the console.

    The customization options.

    _responsesBuilder: ResponsesBuilder

    The service to generate the responses.

    _statuses: Statuses

    The utility service to get HTTP status codes.

    Accessors

    Methods