Exception: ActiveJob::Temporal::BatchEnqueueValidationError
- Inherits:
-
Error
- Object
- StandardError
- Error
- ActiveJob::Temporal::BatchEnqueueValidationError
- Defined in:
- lib/activejob/temporal/batch_enqueue_result.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ BatchEnqueueValidationError
constructor
A new instance of BatchEnqueueValidationError.
Constructor Details
#initialize(errors) ⇒ BatchEnqueueValidationError
Returns a new instance of BatchEnqueueValidationError.
10 11 12 13 |
# File 'lib/activejob/temporal/batch_enqueue_result.rb', line 10 def initialize(errors) @errors = errors super("Invalid batch enqueue jobs: #{format_errors(errors)}") end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
8 9 10 |
# File 'lib/activejob/temporal/batch_enqueue_result.rb', line 8 def errors @errors end |