Use constants in place of hardcoded values
Reword godoc for getError