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
This commit is contained in:
parent
dcbc7ee6c7
commit
bc69be28e7