I'd prefer it if all bindings tried to use the same language and provide the same output structure when errors happen in DXHTTPRequest. See https://github.com/dnanexus/dx-toolkit/blob/master/src/python/dxpy/__init__.py#L308 etc.