Exception: Postburner::Job::BadFormat
- Inherits:
-
StandardError
- Object
- StandardError
- Postburner::Job::BadFormat
- Defined in:
- app/models/postburner/job.rb
Overview
Note:
The error message includes full job parameters for debugging
Note:
Access original Beanstalkd error via exception.cause
Exception raised when Beanstalkd rejects a job with BAD_FORMAT error.
Beanstalkd returns BAD_FORMAT when job parameters are invalid, such as:
-
Negative delay values
-
Invalid priority (outside 0-4294967295 range)
-
Invalid TTR (time-to-run)
-
Malformed job data
This exception wraps the original Beaneater::BadFormatError and includes detailed debugging information about the parameters that caused the error. The original exception is preserved via the ‘cause` chain.