Exception: Concurrent::Agent::ValidationError
- Defined in:
- lib/concurrent-ruby/concurrent/agent.rb
Overview
Raised when a new value obtained during action processing or at ‘#restart` fails validation.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(message = nil) ⇒ ValidationError
Returns a new instance of ValidationError.
176 177 178 179 |
# File 'lib/concurrent-ruby/concurrent/agent.rb', line 176 def initialize( = nil) ||= 'invalid value' super() end |