Exception: Rainman::InvalidHandler
- Inherits:
-
StandardError
- Object
- StandardError
- Rainman::InvalidHandler
- Defined in:
- lib/rainman/exceptions.rb
Overview
InvalidHandler is raised when attempting to access a handler that has not yet been registered.
Instance Method Summary collapse
-
#initialize(handler) ⇒ InvalidHandler
constructor
A new instance of InvalidHandler.
Constructor Details
#initialize(handler) ⇒ InvalidHandler
Returns a new instance of InvalidHandler.
13 14 15 16 |
# File 'lib/rainman/exceptions.rb', line 13 def initialize(handler) super "Handler #{handler.inspect} is invalid! Maybe you need to " << "call 'register_handler #{handler.inspect}'?" end |