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

Should a message be required in an error? #501

Closed
jclark opened this issue Apr 28, 2020 · 2 comments
Closed

Should a message be required in an error? #501

jclark opened this issue Apr 28, 2020 · 2 comments
Assignees
Labels
design/dislike Do not like something about the design lang Relates to the Ballerina language specification status/pending Design is agreed and waiting to be added

Comments

@jclark
Copy link
Collaborator

jclark commented Apr 28, 2020

WIth the changes in #459 and #393, should the error constructor always be required to specify a message?

@jclark jclark self-assigned this Apr 28, 2020
@jclark jclark changed the title Should message required in an error? Should a message be required in an error? Apr 28, 2020
@jclark jclark added this to the 2020R2 milestone Apr 28, 2020
@jclark
Copy link
Collaborator Author

jclark commented May 1, 2020

Majority opinion prefers to make it required.

@jclark jclark added status/pending Design is agreed and waiting to be added design/dislike Do not like something about the design lang Relates to the Ballerina language specification labels May 1, 2020
@jclark
Copy link
Collaborator Author

jclark commented May 1, 2020

This is solved by the revised error design in #509.

@jclark jclark closed this as completed May 1, 2020
@jclark jclark removed this from the 2020R2 milestone May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design/dislike Do not like something about the design lang Relates to the Ballerina language specification status/pending Design is agreed and waiting to be added
Projects
None yet
Development

No branches or pull requests

1 participant