# ExitCodeGenerators constructor

ExitCodeGenerators()

A container and manager for multiple ExitCodeGenerator instances.

This class allows you to dynamically register and prioritize exit code generators. These generators are responsible for computing application exit codes based on exceptions thrown during execution.

It supports:

- Adding generators directly
- Mapping exceptions to exit codes using ExitCodeExceptionHandler
- Aggregating generators from multiple sources
- Resolving a final exit code from all registered generators

Example:

    final generators = ExitCodeGenerators();

    generators.add(Exception("App crashed"), MyExitCodeMapper());
    int code = generators.getExitCode();
    exit(code);

## Implementation

    ExitCodeGenerators();