Exception: AcidicJob::DefinitionMismatchError
- Defined in:
- lib/acidic_job/errors.rb
Instance Method Summary collapse
-
#initialize(expected, existing) ⇒ DefinitionMismatchError
constructor
A new instance of DefinitionMismatchError.
- #message ⇒ Object
Constructor Details
#initialize(expected, existing) ⇒ DefinitionMismatchError
Returns a new instance of DefinitionMismatchError.
48 49 50 51 52 |
# File 'lib/acidic_job/errors.rb', line 48 def initialize(expected, existing) super @expected = expected @existing = existing end |
Instance Method Details
#message ⇒ Object
54 55 56 57 58 59 60 |
# File 'lib/acidic_job/errors.rb', line 54 def <<~TXT existing execution's definition does not match existing: #{@existing.inspect} expected: #{@expected.inspect} TXT end |