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

Issue 5321061: code review 5321061: errors: new package (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by rsc
Modified:
12 years, 6 months ago
Reviewers:
CC:
r, gustavo_niemeyer.net, adg, r2, golang-dev
Visibility:
Public.

Description

errors: new package The only function is errors.New, at least for now.

Patch Set 1 #

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

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

Total comments: 3

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

Patch Set 5 : diff -r 70ad052c7247 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 6 : diff -r 555206426169 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -0 lines) Patch
M src/pkg/Makefile View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/errors/Makefile View 1 1 chunk +11 lines, -0 lines 0 comments Download
A src/pkg/errors/errors.go View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A src/pkg/errors/errors_test.go View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 15
rsc
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 6 months ago (2011-10-28 04:04:11 UTC) #1
r
sorry, i don't understand the New thing http://codereview.appspot.com/5321061/diff/4001/src/pkg/errors/errors.go File src/pkg/errors/errors.go (right): http://codereview.appspot.com/5321061/diff/4001/src/pkg/errors/errors.go#newcode5 src/pkg/errors/errors.go:5: // Package ...
12 years, 6 months ago (2011-10-28 04:13:54 UTC) #2
rsc
On Thu, Oct 27, 2011 at 21:13, <r@golang.org> wrote: > i don't understand what you're ...
12 years, 6 months ago (2011-10-28 04:14:46 UTC) #3
r
On Thu, Oct 27, 2011 at 9:14 PM, Russ Cox <rsc@golang.org> wrote: > On Thu, ...
12 years, 6 months ago (2011-10-28 06:08:29 UTC) #4
rsc
On Thu, Oct 27, 2011 at 23:08, Rob 'Commander' Pike <r@golang.org> wrote: > yes, but ...
12 years, 6 months ago (2011-10-28 14:38:54 UTC) #5
gustavo_niemeyer.net
> It is a property that has surprised people and that people > may or ...
12 years, 6 months ago (2011-10-28 14:51:08 UTC) #6
rsc
On Fri, Oct 28, 2011 at 07:50, Gustavo Niemeyer <gustavo@niemeyer.net> wrote: > There will be ...
12 years, 6 months ago (2011-10-28 14:55:47 UTC) #7
rsc
On Fri, Oct 28, 2011 at 07:55, Russ Cox <rsc@golang.org> wrote: > I should probably ...
12 years, 6 months ago (2011-10-28 15:03:24 UTC) #8
gustavo_niemeyer.net
>> I should probably just fix the behavior and see what breaks. > > Just ...
12 years, 6 months ago (2011-10-28 15:11:50 UTC) #9
r
it's an easier property to fix than to document. -rob
12 years, 6 months ago (2011-10-28 15:14:08 UTC) #10
rsc
Hello r@golang.org, gustavo@niemeyer.net (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 6 months ago (2011-11-01 05:26:52 UTC) #11
adg
http://codereview.appspot.com/5321061/diff/15001/src/pkg/errors/errors_test.go File src/pkg/errors/errors_test.go (right): http://codereview.appspot.com/5321061/diff/15001/src/pkg/errors/errors_test.go#newcode18 src/pkg/errors/errors_test.go:18: t.Errorf(`New("abc") == New("abc")`) error message should be `New("abc") == ...
12 years, 6 months ago (2011-11-01 06:12:28 UTC) #12
r
LGTM
12 years, 6 months ago (2011-11-01 16:23:26 UTC) #13
r2
On Nov 1, 2011, at 9:23 AM, r@golang.org wrote: > LGTM (after addressing adg's point)
12 years, 6 months ago (2011-11-01 16:24:17 UTC) #14
rsc
12 years, 6 months ago (2011-11-02 01:47:02 UTC) #15
*** Submitted as http://code.google.com/p/go/source/detail?r=b1c079c01a0a ***

errors: new package

The only function is errors.New, at least for now.

R=r, gustavo, adg, r
CC=golang-dev
http://codereview.appspot.com/5321061
Sign in to reply to this message.

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