err.code is used to indicate the validation failure
trying to solve a problem w git-merge
Fix: newline added to .gitignore