Exception: Concurrent::Agent::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/agent.rb

Overview

Raised during action processing or any other time in an Agent’s lifecycle.

Direct Known Subclasses

ValidationError

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ Error

Returns a new instance of Error.



167
168
169
170
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/agent.rb', line 167

def initialize(message = nil)
  message ||= 'agent must be restarted before jobs can post'
  super(message)
end