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

errors: make errorString implement BinaryMarshal/BinaryUnmarshal #8778

Closed
gopherbot opened this issue Sep 19, 2014 · 2 comments
Closed

errors: make errorString implement BinaryMarshal/BinaryUnmarshal #8778

gopherbot opened this issue Sep 19, 2014 · 2 comments
Milestone

Comments

@gopherbot
Copy link

by brady@orchestrate.io:

Given how often errors.errorString is used as an error return it would be nice if it
supported GobEncode/GobDecode (or BinaryMarshal/BinaryUnmarshal. That was if any code
needs to preserve an error it can do so without having to jump through a bunch of hoops.
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-main, release-go1.5.

@bradfitz bradfitz modified the milestone: Go1.5 Dec 16, 2014
@rsc rsc removed the repo-main label Apr 14, 2015
@rsc rsc changed the title errors.errorString: Add GobEncode/GobDecode support errors: make errorString implement BinaryMarshal/BinaryUnmarshal Apr 26, 2015
@rsc
Copy link
Contributor

rsc commented Jul 15, 2015

See comments on #10748.

@rsc rsc closed this as completed Jul 15, 2015
@golang golang locked and limited conversation to collaborators Jul 18, 2016
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

4 participants