Add configuration hooks to defined mappings between Throwable and exit code for globally and per CommandRegistration. This way use have defaults how errors are reflections to exit codes and gives options to define specific mappings between errors and exit codes.