]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: add Error method to alert
authorRuss Cox <rsc@golang.org>
Fri, 28 Oct 2011 02:42:32 +0000 (19:42 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 28 Oct 2011 02:42:32 +0000 (19:42 -0700)
commit01e9a227cc8f8e0d0ffea239f6c601259a6db908
tree05882abd6bb38402af3f615ca8894cf5ca52cdb1
parent64f78c918aa690abf790f0fc20acef379ed858f6
crypto/tls: add Error method to alert

alerts get used as both values and errors.
Rather than introduce an alertError wrapper,
this CL just adds an Error method, which will
satisfy the error interface when the time comes.

R=agl, bradfitz
CC=golang-dev
https://golang.org/cl/5294073
src/pkg/crypto/tls/alert.go