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

runtime: remove 'throw' from error #4597

Closed
gopherbot opened this issue Dec 29, 2012 · 2 comments
Closed

runtime: remove 'throw' from error #4597

gopherbot opened this issue Dec 29, 2012 · 2 comments
Milestone

Comments

@gopherbot
Copy link

by soniakeys:

go version devel +492fdf07797e Sat Dec 29 14:34:06 2012 -0500 linux/amd64

Consider removing the word "throw" from the message "throw: all
goroutines are asleep - deadlock!".  New programmers from other languages can
reason that they should be able to catch the throw somehow and handle the exception. cf.
http://stackoverflow.com/questions/14075382/how-do-i-catch-the-exception-of-a-channel-deadlocking.
 I suspect the word throw is a reference to C code in the runtime, which does not help
the Go programmer.
@rsc
Copy link
Contributor

rsc commented Dec 29, 2012

Comment 1:

Labels changed: added priority-later, removed priority-triage.

Owner changed to @rsc.

Status changed to Started.

@rsc
Copy link
Contributor

rsc commented Dec 30, 2012

Comment 2:

This issue was closed by revision a22389e.

Status changed to Fixed.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants