Exception: Rod::ValidationException
- Inherits:
-
RodException
- Object
- Exception
- RodException
- Rod::ValidationException
- Defined in:
- lib/rod/exception.rb
Overview
This exceptions is raised if there is a validation error.
Instance Method Summary collapse
-
#initialize(message) ⇒ ValidationException
constructor
A new instance of ValidationException.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ ValidationException
Returns a new instance of ValidationException.
16 17 18 |
# File 'lib/rod/exception.rb', line 16 def initialize() @message = end |
Instance Method Details
#to_s ⇒ Object
20 21 22 |
# File 'lib/rod/exception.rb', line 20 def to_s @message.join("\n") end |