# File lib/hammer_cli/exception_handler.rb, line 12 def mappings [ [Exception, :handle_general_exception], # catch all [Clamp::HelpWanted, :handle_help_wanted], [Clamp::UsageError, :handle_usage_exception], [RestClient::ResourceNotFound, :handle_not_found], [RestClient::Unauthorized, :handle_unauthorized], [ApipieBindings::DocLoadingError, :handle_apipie_docloading_error], [ApipieBindings::MissingArgumentsError, :handle_apipie_missing_arguments_error], [HammerCLI::ModuleDisabledButRequired, :handle_generic_config_error] ] end