code: def __str__(self):
      res = "Server error %s:\n" % self.exception_type
      res += "  Error: %s\n" % self.msg
      res += "  Request: %s\n" % self.endpoint
      if self.payload:
          if self.payload[0]:
              res += "    data: %r\n" % self.payload[0]
          if self.payload[1]:
              res += "    json: %r\n" % self.payload[1]
          if self.payload[2]:
              res += "    file: %r\n" % self.payload[2]
          if self.payload[3]:
              res += "    params: %r\n" % self.payload[3]
      if self.show_stacktrace and self.stacktrace:
          res += "  Stacktrace: %s\n" % self._format_stacktrace(
              indent=6
          )
      return res
  
file_path: h2o-3/h2o-py/h2o/schemas/error.py
imports: from h2o.utils.compatibility import *
  from .schema import H2OSchema
label_desc: Use image node_id 4 for calling the H2OErrorV3 obj's underlying member method code with example usage: obj.__str__() and returns: res