Exception: Hg::NoRouterClassExistsError
- Inherits:
-
StandardError
- Object
- StandardError
- Hg::NoRouterClassExistsError
- Defined in:
- lib/hg/messenger/bot.rb
Overview
Error thrown when no router class exists.
Instance Method Summary collapse
-
#initialize ⇒ NoRouterClassExistsError
constructor
A new instance of NoRouterClassExistsError.
Constructor Details
#initialize ⇒ NoRouterClassExistsError
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 |