Class: InventoryUpload::ReportActions::ReportMissingError

Inherits:
Foreman::Exception
  • Object
show all
Defined in:
app/controllers/concerns/inventory_upload/report_actions.rb

Constant Summary collapse

MESSAGE =
N_("The report file %{filename} doesn't exist")

Instance Method Summary collapse

Constructor Details

#initialize(**params) ⇒ ReportMissingError

Returns a new instance of ReportMissingError.



8
9
10
# File 'app/controllers/concerns/inventory_upload/report_actions.rb', line 8

def initialize(**params)
  super(self.class::MESSAGE % params, params)
end