earl icon indicating copy to clipboard operation
earl copied to clipboard

Matchers should be able to return rich error info in case of errors

Open krzkaczor opened this issue 4 years ago • 0 comments

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.

krzkaczor avatar Dec 15 '20 18:12 krzkaczor