Class: HammerCLIKatello::ExceptionHandler

Inherits:
HammerCLIForeman::ExceptionHandler
  • Object
show all
Defined in:
lib/hammer_cli_katello/exception_handler.rb

Instance Method Summary collapse

Instance Method Details

#mappingsObject



4
5
6
7
8
9
# File 'lib/hammer_cli_katello/exception_handler.rb', line 4

def mappings
  super + [
    [RestClient::InternalServerError, :handle_internal_error],
    [RestClient::BadRequest, :handle_bad_request]
  ]
end