Exception: Telegram::Errors::Routing::BotNotFoundError
- Inherits:
-
CommonError
- Object
- StandardError
- CommonError
- Telegram::Errors::Routing::BotNotFoundError
- Defined in:
- lib/telegram/errors/routing/bot_not_found_error.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ BotNotFoundError
constructor
A new instance of BotNotFoundError.
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 |