Set error as property on the XHR obj