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

Featues/raise exception use class and message #6242

Conversation

icyleaf
Copy link
Contributor

@icyleaf icyleaf commented Jun 22, 2018

@bcardiff
Copy link
Member

When designing the exception of the language we explicitly decide to not include this. There is no real gain on getting rid the <Exception>.new and we think it makes it clearer that the object is raised and that there is more freedom regarding the initializer of the object.

@icyleaf
Copy link
Contributor Author

icyleaf commented Jun 22, 2018

Got it, thanks

@icyleaf icyleaf closed this Jun 22, 2018
@icyleaf icyleaf deleted the featues/raise-exception-use-class-and-message branch July 6, 2018 08:08
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