add status code to RequestError