Exception: Bitodeme::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Bitodeme::ValidationError
- Defined in:
- lib/bitodeme/validation_error.rb
Overview
Validation Error
Instance Method Summary collapse
-
#initialize(attr, val) ⇒ ValidationError
constructor
A new instance of ValidationError.
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 |