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

Issue 5305068: code review 5305068: crypto/openpgp/error: use Error in names of error impl types (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:
bradfitz, golang-dev
Visibility:
Public.

Description

crypto/openpgp/error: use Error in names of error impl types Will make gofix for error work better. There is no other indication in this file that these are actually error implementations. (They are only used elsewhere.)

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 #

Total comments: 1

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

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

Messages

Total messages: 4
rsc
Hello 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:26 UTC) #1
bradfitz
LGTM http://codereview.appspot.com/5305068/diff/3001/src/pkg/crypto/openpgp/error/error.go File src/pkg/crypto/openpgp/error/error.go (right): http://codereview.appspot.com/5305068/diff/3001/src/pkg/crypto/openpgp/error/error.go#newcode58 src/pkg/crypto/openpgp/error/error.go:58: var UnknownIssuerError = unknownIssuerError(0) should probably be "var ...
13 years, 5 months ago (2011-10-28 01:45:35 UTC) #2
rsc
On Thu, Oct 27, 2011 at 18:45, <bradfitz@golang.org> wrote: > should probably be "var ErrUnknownIssuer", ...
13 years, 5 months ago (2011-10-28 02:37:28 UTC) #3
rsc
13 years, 5 months ago (2011-10-28 02:38:40 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=e73aab37d5b4 ***

crypto/openpgp/error: use Error in names of error impl types

Will make gofix for error work better.
There is no other indication in this file that
these are actually error implementations.

(They are only used elsewhere.)

R=bradfitz
CC=golang-dev
http://codereview.appspot.com/5305068
Sign in to reply to this message.

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