Exception: Telegram::Errors::Routing::BotNotFoundError

Inherits:
CommonError
  • Object
show all
Defined in:
lib/telegram/errors/routing/bot_not_found_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ BotNotFoundError

Returns a new instance of BotNotFoundError.



8
9
10
# File 'lib/telegram/errors/routing/bot_not_found_error.rb', line 8

def initialize name
  super "Bot \"#{name}\" was not found"
end