include status code in the error