Exception: RailsTransactionalOutbox::RecordProcessor::ProcessorNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rails_transactional_outbox/record_processor.rb

Instance Method Summary collapse

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_sObject



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