# addAll method

void addAll(

1. Throwable exception,
2. List<ExitCodeExceptionHandler> mappers

)

Adds a list of ExitCodeExceptionHandlers for a given `exception`, mapping each one to an internal `_MappedExitCodeGenerator`.

Example:

    generators.addAll(
      SomeException(),
      [MyMapper1(), MyMapper2()],
    );

## Implementation

    void addAll(Throwable exception, List<ExitCodeExceptionHandler> mappers) {
      addAllMappers(exception, mappers);
    }