Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added name to validation-error (#60)
* Added name to validation-error Some other express middleware is using error names to be able to discovered, just for the sake of having everything i would add this. You can then check instead of `err instanceof validate.ValidationError` with `err.name === 'ValidationError'` * Fixed missing semicolon
- Loading branch information