Add response object to error.