-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make error text more helpful? #8
Comments
Hey @bevacqua, |
Thanks! I think the ability to set a custom message (I'd say plain text, but I guess you could later make it into a template if you think that's worthwhile) plus a default other than Maybe default to |
Great suggestions! |
- Changed default error messages - Added configurable error messages
Changes are in version 0.7.7. messagesThe {
"notice/notice":["error",
{
"mustMatch":"Apache License",
"templateFile":"config/apache.js",
"messages":{
"whenFailedToMatch":"Couldn't find 'Apache License', are you sure you added it?"
}
}
]
} The three configurable messages are:
|
Would be better if it were configurable, or if it included a suggested fix:
Could not find a match for the mustMatch pattern. Are you missing the header text? notice/notice
The text was updated successfully, but these errors were encountered: