123456789_123456789_123456789_123456789_123456789_

Exception: ActiveJob::UnknownJobClassError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
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

UNBOUND_METHOD_MODULE_NAME

Class Method Summary

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

[ GitHub ]

  
# 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