Change error names from "er" to "err"