Exception: Rod::RodException
- Inherits:
-
Exception
- Object
- Exception
- Rod::RodException
- Defined in:
- lib/rod/exception.rb
Overview
Base class for all Rod exceptions
Direct Known Subclasses
DatabaseError, IdException, IncompatibleVersion, InvalidArgument, ValidationException
Instance Method Summary collapse
-
#initialize(message) ⇒ RodException
constructor
A new instance of RodException.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ RodException
Returns a new instance of RodException.
5 6 7 |
# File 'lib/rod/exception.rb', line 5 def initialize() @message = end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/rod/exception.rb', line 9 def to_s "Rod exception: #{@message}" end |