node/errorHandler

Classes

ErrorHandler

Members

(inner, constant) errorHandler :ProviderCreator.<ErrorHandlerProviderOptions>

Source:
Tutorials:

The service provider to register an instance of ErrorHandler on the container.

Type:

Type Definitions

ErrorHandlerProviderOptions

Source:
Properties:
Name Type Description
serviceName string

The name that will be used to register an instance of ErrorHandler. Its default value is errorHandler.

exitOnError boolean

Whether or not to exit the process after receiving an error.

services ErrorHandlerServiceMap

A dictionary with the services that need to be injected on the class.

Type:

ErrorHandlerServiceMap

Source:
Properties:
Name Type Attributes Description
logger Array.<string> | string | Logger <optional>

A list of loggers' service names from which the service will try to find the first available, a specific service name, or an instance of Logger.

Type: