Exception: Telegram::Errors::Routing::BadRouteError

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

Instance Method Summary collapse

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