Exception: Hg::NoRouterClassExistsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hg/messenger/bot.rb

Overview

Error thrown when no router class exists.

Instance Method Summary collapse

Constructor Details

#initializeNoRouterClassExistsError

Returns a new instance of NoRouterClassExistsError.



6
7
8
# File 'lib/hg/messenger/bot.rb', line 6

def initialize
  super('No Router class exists for this bot. Define a nested class Router, or set with router=')
end