Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors are useless #6

Open
burn2delete opened this issue Mar 30, 2018 · 1 comment
Open

Errors are useless #6

burn2delete opened this issue Mar 30, 2018 · 1 comment

Comments

@burn2delete
Copy link
Member

Currently the errors produced by covenant are faulty. The only valid data from an error is which input data fails the spec. The spec which failed should be replaced with the interpreted data structure as the spec itself is an internal component. We should also be able to use the data + interpreted spec to generate human readable errors without going through the lengths that https://github.com/alexanderkiel/phrase does.

@thedavidmeister
Copy link
Contributor

@flyboarder also, i tried out phrase and the predicate based dispatch (rather than what spec actually failed) is not that useful imo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants