Add error type to validationError object
Merge branch 'feat-error-type' into feat-merge-errorType-empty