Exception: RailsTransactionalOutbox::RecordProcessor::ProcessorNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- RailsTransactionalOutbox::RecordProcessor::ProcessorNotFoundError
- Defined in:
- lib/rails_transactional_outbox/record_processor.rb
Instance Method Summary collapse
-
#initialize(record) ⇒ ProcessorNotFoundError
constructor
A new instance of ProcessorNotFoundError.
- #to_s ⇒ Object
Constructor Details
#initialize(record) ⇒ ProcessorNotFoundError
Returns a new instance of ProcessorNotFoundError.
25 26 27 28 |
# File 'lib/rails_transactional_outbox/record_processor.rb', line 25 def initialize(record) super() @record = record end |
Instance Method Details
#to_s ⇒ Object
30 31 32 |
# File 'lib/rails_transactional_outbox/record_processor.rb', line 30 def to_s "no processor was found for record with ID: #{record.id}, context: #{record.context}" end |