Class: HammerCLIForemanOpenscap::ExceptionHandler

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

Instance Method Summary collapse

Instance Method Details

#mappingsObject



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

def mappings
  [
    [RestClient::InternalServerError, :handle_internal_error],
    [RestClient::UnprocessableEntity, :handle_unprocessable_entity],
    [HammerCLIForemanOpenscap::DownloadError, :handle_download_error]
  ] + super
end