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

deprecate error(::Exception) and error(::Type{Exception}) #9690

Merged
merged 1 commit into from
Jan 11, 2015

Conversation

jakebolewski
Copy link
Member

These are redundant and currently just defer to throw. I feel we want move away from generic error() messages where possible, so we should encourage people to throw more specific Exception types.

cc @ivarne

@ivarne
Copy link
Sponsor Member

ivarne commented Jan 9, 2015

Great!
Needless to say, I'm positive to this.

@ivarne ivarne added the domain:error handling Handling of exceptions by Julia or the user label Jan 9, 2015
@JeffBezanson
Copy link
Sponsor Member

👍 !

jakebolewski added a commit that referenced this pull request Jan 11, 2015
deprecate error(::Exception) and error(::Type{Exception})
@jakebolewski jakebolewski merged commit 7e7b1f3 into master Jan 11, 2015
@jakebolewski jakebolewski deleted the jcb/deperr branch January 11, 2015 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:error handling Handling of exceptions by Julia or the user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants