-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
encoding/gob: handle errors #3353
Labels
Milestone
Comments
http://golang.org/cl/5844059 is ready for post-Go 1. Labels changed: added priority-later, removed priority-triage. Owner changed to @dsymonds. Status changed to Started. |
Since error is a predeclared type, prima facie it doesn't seem unreasonable to support them in gob directly. It would be easy to send a string and call errors.New(s) on the receiving side. It may even be possible to do better, like ask if the type can GobEncode itself first. Worth thinking about and addressing carefully, if at all. GobEncode in the errors package is not the answer. |
Issue #6467 has been merged into this issue. |
Duplicate of #23340. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: