-
Notifications
You must be signed in to change notification settings - Fork 41
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
Revise all error messages adopting usability pattern #1019
base: develop
Are you sure you want to change the base?
Revise all error messages adopting usability pattern #1019
Conversation
case _ => sys.error("Unsupported scala version") | ||
case _ => sys.error("The Scala version you are using is not supported. " + | ||
"Please use one of the supported versions: Scala 2.11, 2.12, or 2.13. " + | ||
"If the issue keeps happening, contact <a href=\"#\">Customer care</a>.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- for the "Help them fix it" part, an instruction of which SBT variable should be checked for the current version.
- Also there is no "Customer care", only Discord channels. (this also applies to all the other messages)
case _ => sys.error(s"Collection value $c has unexpected type $tpe") | ||
case _ => sys.error(s"The value in the collection $c is not the correct type: $tpe. " + | ||
"Please make sure the value is of the correct type. " + | ||
"If the issue keeps happening, contact <a href=\"#\">Customer care</a>.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The meaning of the message has been changed, which makes it less clear (despite many more words).
Please see how the method is used to come up with a clarifying message.
this should be closed |
### Changes Made:
Note: Currently using “#” in place for a link to contact customer support