def error_message(self):
        output = self.msg + ", code " + str(self.code)
        if self.name != self.__class__.__name__:
            output = self.name + ": " + output
        return output
Returns a one-line description of the error.
dataset/ETHPy150Open dnanexus/dx-toolkit/src/python/dxpy/exceptions.py/DXAPIError.error_message