Exception: ActiveJob::QueueAdapters::ActiveElasticJobAdapter::MD5MismatchError
- Inherits:
-
Error
- Object
- RuntimeError
- Error
- ActiveJob::QueueAdapters::ActiveElasticJobAdapter::MD5MismatchError
- Defined in:
- lib/active_job/queue_adapters/active_elastic_job_adapter.rb
Overview
Raised when calculated MD5 digest does not match the MD5 Digest of the response from Amazon SQS.
Instance Method Summary collapse
-
#initialize(message_id, calculated, returned) ⇒ MD5MismatchError
constructor
A new instance of MD5MismatchError.
Constructor Details
#initialize(message_id, calculated, returned) ⇒ MD5MismatchError
Returns a new instance of MD5MismatchError.
74 75 76 77 78 79 80 81 82 |
# File 'lib/active_job/queue_adapters/active_elastic_job_adapter.rb', line 74 def initialize(, calculated, returned) super(" MD5 '\#{returned}' returned by Amazon SQS does not match the\n calculation on the original request which was '\#{calculated}'.\n The message with Message ID \#{message_id} sent to SQS might be\n corrupted.\n MSG\nend\n") |