docs: def raise_error(error):
      """Intakes a dict of remote error information and raises a DashiError
      """
      exc_type = error.get('exc_type')
      if exc_type and exc_type.startswith(ERROR_PREFIX):
          exc_type = exc_type[len(ERROR_PREFIX):]
          exc_cls = ERROR_TYPE_MAP.get(exc_type, DashiError)
      else:
          exc_cls = DashiError
  
      raise exc_cls(**error)