Rename errors consistent to "err"