Exception: Rainman::NoHandler

Inherits:
StandardError
  • Object
show all
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)

Constructor Details

- (NoHandler) initialize

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