Exception: PolyLingo::JobFailedError
- Inherits:
-
PolyLingoError
- Object
- StandardError
- PolyLingoError
- PolyLingo::JobFailedError
- Defined in:
- lib/polylingo/errors.rb
Overview
Async job finished with status failed or polling timed out.
Instance Attribute Summary collapse
-
#job_id ⇒ Object
readonly
Returns the value of attribute job_id.
Attributes inherited from PolyLingoError
Instance Method Summary collapse
-
#initialize(job_id, status, error, message) ⇒ JobFailedError
constructor
A new instance of JobFailedError.
Constructor Details
#initialize(job_id, status, error, message) ⇒ JobFailedError
Returns a new instance of JobFailedError.
33 34 35 36 |
# File 'lib/polylingo/errors.rb', line 33 def initialize(job_id, status, error, ) super(status, error, ) @job_id = job_id end |
Instance Attribute Details
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id.
31 32 33 |
# File 'lib/polylingo/errors.rb', line 31 def job_id @job_id end |