class_docstr: Deprecated, to be removed at gym 1.0.
class_docstr_tok: ["Deprecated",",","to","be","removed","at","gym","1.0","."]
docstr: Returns a string, if request_id is not None then make message other use the _message.
docstr_tok: ["Returns","a","string",",","if","request_id","is","not","None","then","make","message","other","use","the","_message","."]
code: def __unicode__(self):
      """Returns a string, if request_id is not None then make message other use the _message."""
      if self.request_id is not None:
          msg = self._message or "<empty message>"
          return f"Request {self.request_id}: {msg}"
      else:
          return self._message
  
imports: import warnings
label_desc: Use image node_id 2 for calling the APIError obj's underlying member method code with example usage: obj.__unicode__() and returns: str, self, str, msg, self