Exception: Servus::Extensions::Async::Errors::ServiceNotFoundError

Inherits:
AsyncError
  • Object
show all
Defined in:
lib/servus/extensions/async/errors.rb

Overview

Raised when a service class name cannot be found.

This occurs during job execution when the service class string cannot be constantized, usually due to typos or deleted classes.

Examples:

Job.perform_later(name: "NonExistent::Service", args: {})
# => Servus::Extensions::Async::Errors::ServiceNotFoundError: Service class 'NonExistent::Service' not found