Exception: ActiveJob::UnknownJobClassError
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::NameError,
::Exception
|
|
|
Instance Chain:
self,
::NameError,
::Exception
|
|
| Inherits: | NameError |
| Defined in: | activejob/lib/active_job/core.rb |
Overview
Raised during job payload deserialization when it references an uninitialized job class.
Constant Summary
::NameError - Inherited
Class Method Summary
- .new(job_class_name) ⇒ UnknownJobClassError constructor
Instance Method Summary
::NameError - Inherited
| #missing_name | Extract the name of the missing constant from the exception message. |
| #missing_name? | Was this exception raised because the given name was missing? |
| #real_mod_name | |
::Exception - Inherited
Constructor Details
.new(job_class_name) ⇒ UnknownJobClassError
# File 'activejob/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