Replaced "error" with "res_err"

"error" is a reserved keyword in Go. Using "error" as a variable, although possible, is ill-advised.