class_docstr: Invalid response from DataHub. Base class for more specific exceptions.
  
  Attributes
  ----------
  msg: str
      The error message.
  response: requests.Response
      The response from the server as a `requests.Response` object.
class_docstr_tok: ["Invalid","response","from","DataHub",".","Base","class","for","more","specific","exceptions",".","Attributes","--","--","--","--","--","msg",":","str","The","error","message",".","response",":","requests.Response","The","response","from","the","server","as","a","`","requests.Response","`","object","."]
code: def __str__(self):
      if self.response is None:
          return self.msg
      if self.response.reason:
          reason = " " + self.response.reason
      else:
          reason = ""
      return "HTTP status {}{}: {}".format(
          self.response.status_code,
          reason,
          ("\n" if "\n" in self.msg else "") + self.msg,
      )
  
label_desc: Use image node_id 2 for calling the SentinelAPIError obj's underlying member method code with example usage: obj.__str__() and returns: str, self