code: def report_error(self, error, location=None):
          
          if location == None: location = inspect.stack()[1][3]
          self.log(location, error)
          for f in self.report_funcs:
              f(error)
docs: Report an error that occurred during bot operations. The default
          handler tries to DM the bot admin, if one is set, but more handlers can
          be added by using the @error_reporter decorator.