PTFM-11709: dxpy.DXObject: Do not mask API errors as AttributeError