Skip to content

Conversation

leebyron
Copy link
Contributor

This replaces the mechanism of returning errors or lists of errors from a validator step to instead report those errors via calling a function on the context.

This simplifies the implementation of the visitor mechanism, but also opens the doors for future rules being specified as warnings instead of errors.

This replaces the mechanism of returning errors or lists of errors from a validator step to instead report those errors via calling a function on the context.

This simplifies the implementation of the visitor mechanism, but also opens the doors for future rules being specified as warnings instead of errors.
leebyron added a commit that referenced this pull request Nov 17, 2015
[Validation] Report errors rather than return them
@leebyron leebyron merged commit 320ca24 into master Nov 17, 2015
@leebyron leebyron deleted the reportError branch November 17, 2015 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants