Exception: Concurrent::Agent::Error

Inherits:
StandardError
  • Object
show all
Defined in:
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.



168
169
170
171
# File 'lib/concurrent-ruby/concurrent/agent.rb', line 168

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