Exception: Hg::NoUserClassExistsError

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

Overview

Error thrown when no user class exists.

Instance Method Summary collapse

Constructor Details

#initializeNoUserClassExistsError

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