earl
earl copied to clipboard
Matchers should be able to return rich error info in case of errors
Related: https://github.com/earl-js/earl/pull/113#discussion_r543428304
Probably error messages should be moved from validators to matchers too. This way we will get with super simple way to create validators for existing matchers and matchers will be able to return richer errors in case of mismatch.