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

Throw exception when variables do not exist in given dictionary. #5

Closed
jeffijoe opened this issue Aug 25, 2015 · 1 comment
Closed

Comments

@jeffijoe
Copy link
Owner

Currently I've got a sexy AssertVariableExists in the Base formatter that does one thing, and that is make the tests look good.

In other words, it's not being used, but it should. But I am thinking I shouldn't make each formatter be responsible for throwing, when I can do it in the MessageFormatter.FormatMessage before the actual formatter is being called.

Essentially, we want to know when we supplied bad data.

@jeffijoe
Copy link
Owner Author

Implemented in 07bde9a - v1 released.

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

No branches or pull requests

1 participant