def _read_fault(self): fault = self._read_object() return Fault(fault['code'], fault['message'], fault.get('detail'))
def read_fault(self): fault = self.read_map() return Fault(fault['code'], fault['message'], fault.get('detail'))