Exception: Hg::NoUserClassExistsError
- Inherits:
-
StandardError
- Object
- StandardError
- Hg::NoUserClassExistsError
- Defined in:
- lib/hg/messenger/bot.rb
Overview
Error thrown when no user class exists.
Instance Method Summary collapse
-
#initialize ⇒ NoUserClassExistsError
constructor
A new instance of NoUserClassExistsError.
Constructor Details
#initialize ⇒ NoUserClassExistsError
Returns a new instance of NoUserClassExistsError.
13 14 15 |
# File 'lib/hg/messenger/bot.rb', line 13 def initialize super('No User class exists for this bot. Define a global class User, or set with user_class=') end |