123456789_123456789_123456789_123456789_123456789_

Exception: Concurrent::Agent::ValidationError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error, StandardError
Instance Chain:
self, Error, StandardError
Inherits: Concurrent::Agent::Error
Defined in: lib/concurrent-ruby/concurrent/agent.rb

Overview

Raised when a new value obtained during action processing or at #restart fails validation.

Class Method Summary

Constructor Details

.new(message = nil) ⇒ ValidationError

[ GitHub ]

  
# File 'lib/concurrent-ruby/concurrent/agent.rb', line 177

def initialize(message = nil)
  message ||= 'invalid value'
  super(message)
end