Exception: Telegram::Errors::Routing::BadRouteError
- Inherits:
-
CommonError
- Object
- StandardError
- CommonError
- Telegram::Errors::Routing::BadRouteError
- Defined in:
- lib/telegram/errors/routing/bad_route_error.rb
Instance Method Summary collapse
-
#initialize(route) ⇒ BadRouteError
constructor
A new instance of BadRouteError.
Constructor Details
#initialize(route) ⇒ BadRouteError
Returns a new instance of BadRouteError.
8 9 10 |
# File 'lib/telegram/errors/routing/bad_route_error.rb', line 8 def initialize route super "Bad route \"#{route}\"" end |