Replaced "error" with "res_err"

"error" is a reserved keyword in Go. Using "error" as a variable, although possible, is ill-advised.
Merge pull request #89 from philhofer/master

Replaced "error" with "res_err"