Handling errors
Handler class to handle errors in the
Dispatcher.
ErrorHandler(callback) is.ErrorHandler(x)
| callback | A function that takes  | 
| x | Object to be tested. | 
An R6Class object.
## Not run: 
updater <- Updater(token = "TOKEN")
# Create error callback
error_callback <- function(bot, error) {
  warning(simpleWarning(conditionMessage(error), call = "Updates polling"))
}
# Register it to the updater's dispatcher
updater$dispatcher$add_handler(ErrorHandler(error_callback))
# or
updater <- updater + ErrorHandler(error_callback)
## End(Not run)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.