def toProtocolElement(self):
        error = protocol.GAException()
        error.errorCode = self.getErrorCode()
        error.message = self.getMessage()
        return error
Convert joyent returned state to state common to other data center return
dataset/ETHPy150Open ga4gh/server/ga4gh/exceptions.py/RuntimeException.toProtocolElement--crossover with--dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/joyent.py/joyent_node_state