ValidationError to extend Error
Without it is hard to properly test for validations triggered.
Description
Extends the native Error class so the lib is more JS compliance.
Checklist
- [x] the pull request title describes what this PR does (not a vague title like
Update index.md) - [x ] the pull request targets the default branch of the repository (
develop) - [x ] the code follows the established code style of the repository
npm run prettier:checkpassesnpm run lint:checkpasses
- [ ] tests are added for the changes I made (if any source code was modified)
- [ ] documentation added or updated
- [x ] I have run the project locally and verified that there are no errors
Fixes
fixes #[issue number], fixes #[issue number]
could you link this to your issue? fixes #1715
Hi @GabCostaSilva! Thanks for the PR, but I have to close this for now. This is the kind of change that seems small at first in reality this needs to be thought through from all aspects.
If the current behavior still causes problems for you we can continue the discussion on the issue.
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.