docs: def set_error_callback(self, callback):
          """Assign a method to invoke when a request has encountered an
          unrecoverable error in an action execution.
  
          :param method callback: The method to invoke
  
          """
          self.logger.debug('Setting error callback: %r', callback)
          self._on_error = callback