Exception: Concurrent::Agent::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/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/concurrent/agent.rb', line 167

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