Exception: Rainman::NoHandler
- Inherits:
-
StandardError
- Object
- StandardError
- Rainman::NoHandler
- Defined in:
- lib/rainman/exceptions.rb
Overview
NoHandler is raised when attempting to do something that needs a handler, but no default or current handler can be found.
Instance Method Summary collapse
-
#initialize ⇒ NoHandler
constructor
A new instance of NoHandler.
Constructor Details
#initialize ⇒ NoHandler
Returns a new instance of NoHandler.
22 23 24 25 |
# File 'lib/rainman/exceptions.rb', line 22 def initialize super "No handler is set! Maybe you need to " << "call 'set_default_handler'?" end |