Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1356)

Issue 5294073: code review 5294073: crypto/tls: add Error method to alert (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by rsc
Modified:
13 years, 5 months ago
Reviewers:
CC:
agl, bradfitz, golang-dev
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : diff -r eb6fbf796acc https://go.googlecode.com/hg #

Patch Set 3 : diff -r eb6fbf796acc https://go.googlecode.com/hg #

Patch Set 4 : diff -r b036b65920d2 https://go.googlecode.com/hg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M src/pkg/crypto/tls/alert.go View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello agl, bradfitz (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg
13 years, 5 months ago (2011-10-28 01:41:00 UTC) #1
bradfitz
LGTM On Thu, Oct 27, 2011 at 6:41 PM, <rsc@golang.org> wrote: > Reviewers: agl, bradfitz, ...
13 years, 5 months ago (2011-10-28 01:57:02 UTC) #2
rsc
13 years, 5 months ago (2011-10-28 02:42:36 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=4c0477230b7d ***

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
http://codereview.appspot.com/5294073
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b