Exception: Hibachi::InstallActiveJobError
- Inherits:
-
StandardError
- Object
- StandardError
- Hibachi::InstallActiveJobError
- Defined in:
- lib/hibachi/install_active_job_error.rb
Overview
Thrown when ‘Hibachi::Job` is called, but `ActiveJob::Base` was not defined. Prevents a possibly harder-to-diagnose error.
Instance Method Summary collapse
-
#initialize ⇒ InstallActiveJobError
constructor
A new instance of InstallActiveJobError.
Constructor Details
#initialize ⇒ InstallActiveJobError
Returns a new instance of InstallActiveJobError.
5 6 7 8 9 10 11 |
# File 'lib/hibachi/install_active_job_error.rb', line 5 def initialize @message = %{ You must install ActiveJob to run Hibachi in the background.. <https://github.com/rails/activejob> } end |