Exception: Bitodeme::ValidationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bitodeme/validation_error.rb

Overview

Validation Error

Instance Method Summary collapse

Constructor Details

#initialize(attr, val) ⇒ ValidationError

Returns a new instance of ValidationError.



4
5
6
# File 'lib/bitodeme/validation_error.rb', line 4

def initialize(attr, val)
  super("Unacceptable value('#{val}') for '#{attr}'!")
end