Exception: ForemanMaintain::Error::MultipleBeforeDetected
- Inherits:
-
StandardError
- Object
- StandardError
- ForemanMaintain::Error::MultipleBeforeDetected
- Defined in:
- lib/foreman_maintain/error.rb
Instance Method Summary collapse
-
#initialize(step_labels) ⇒ MultipleBeforeDetected
constructor
A new instance of MultipleBeforeDetected.
- #message ⇒ Object
Constructor Details
#initialize(step_labels) ⇒ MultipleBeforeDetected
Returns a new instance of MultipleBeforeDetected.
16 17 18 |
# File 'lib/foreman_maintain/error.rb', line 16 def initialize(step_labels) @step_labels = step_labels end |
Instance Method Details
#message ⇒ Object
20 21 22 |
# File 'lib/foreman_maintain/error.rb', line 20 def "multiple metadata detected instead of 1. \n before [#{@step_labels.join(', ')}]\n" end |