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

@gopherbot gopherbot commented Sep 19, 2014

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

@ianlancetaylor ianlancetaylor commented Sep 19, 2014

Comment 1:

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

@gopherbot gopherbot added new labels Sep 19, 2014
@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 rsc commented Jul 15, 2015

See comments on #10748.

@rsc rsc closed this 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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.