code: def from_status(status, message=None, extra=None):
      
      if status in HTTP_STATUS_CODES:
          return HTTP_STATUS_CODES[status](message=message, extra=extra)
      else:
          return Error(
              code=status, message=message if message else "Unknown Error",
              extra=extra
          )
docs: Try to create an error from status code
  
      :param int status: HTTP status
      :param str message: Body content
      :param dict extra: Additional info
      :return: An error
      :rtype: cdumay_rest_client.errors.Error