Create an instance of register manager
registry options
The application identifier
Returns a combined list of all the registered errors
Last update date
Links offered by this service
The application name
An Express router with access to registered errors
The current number of registered errors
The health status of the component
Adds an error to the registry, converting it to a structured format.
The error to register.
Registers one or multiple components to be monitored.
The component or components to register.
The RegisterFacade class provides a centralized solution for error monitoring across all components of an application. It acts as a facade over various underlying mechanisms to facilitate error aggregation, error information exposure through REST APIs, and error registry management.
It integrates with:
This class also provides a REST API endpoint for accessing collected error information and supports operations for registering errors and clearing the error registry.