We usually rename the err inside the function (e0, e1, etc..) like the golang stdlib does.