Exception: ActiveJob::UnknownJobClassError
- Inherits:
-
NameError
- Object
- NameError
- ActiveJob::UnknownJobClassError
- Defined in:
- lib/active_job/core.rb
Overview
Raised during job payload deserialization when it references an uninitialized job class.
Instance Method Summary collapse
-
#initialize(job_class_name) ⇒ UnknownJobClassError
constructor
A new instance of UnknownJobClassError.
Constructor Details
#initialize(job_class_name) ⇒ UnknownJobClassError
Returns a new instance of UnknownJobClassError.
6 7 8 |
# File 'lib/active_job/core.rb', line 6 def initialize(job_class_name) super("Failed to instantiate job, class `#{job_class_name}` doesn't exist", job_class_name) end |