Exception: Aws::ActiveJob::SQS::JobClassNotDefinedError

Inherits:
InvalidJobClassError show all
Defined in:
lib/aws/active_job/sqs/job_runner.rb

Overview

Raised when a message names a class not defined in this process.

Recoverable in a way other InvalidJobClassError causes (malformed name, disallowed class, non-job class) aren't: during a rolling deploy, redelivering to a newer worker that has the class may succeed. Subclasses InvalidJobClassError so existing rescues still catch it; a permanent_failure_handler can single it out and keep the message on the queue for redelivery.