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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add list of error messages to README #129

Merged
merged 1 commit into from Dec 7, 2016
Merged

Conversation

RangerMauve
Copy link
Contributor

Hi,
I really like this library and appreciate all the work that has been put into it.
Currently I'm using it as part of an application that requires support for multiple languages. This means that using the message fields from errors directly isn't sufficient. What I need to do instead is look at what message is being generated and choose an appropriate string in the currently active language.
This means that I need to have a list of all possible error messages.
Crawling through the code to find them isn't difficult per se, however I think it would be more useful for people in similar situations to just look it up in the docs.
For a start, I've just added a list of all the messages in calls to the error() function, in the future it may be useful to add comments for what causes the error message (though I find it pretty obvious already)

Hopefully this is something that will be useful to the project. If not, at least I have the list for my own reference now. 馃槃

@LinusU
Copy link
Collaborator

LinusU commented Dec 7, 2016

This is awesome 馃檶 thank you!

@LinusU LinusU merged commit 8015f4b into mafintosh:master Dec 7, 2016
@RangerMauve RangerMauve deleted the patch-1 branch December 7, 2016 15:09
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

Successfully merging this pull request may close these issues.

None yet

2 participants