Skip to content

Commit b09528a

Browse files
committed
error: fix godoc comment
1 parent 6da3d2c commit b09528a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (e *Error) Unwrap() error {
9191
return e.err
9292
}
9393

94-
// New builds a Error struct for the suppied message and code.
94+
// NewError builds a Error struct for the suppied message and code.
9595
func NewError(c Code, args ...interface{}) *Error {
9696
e := &Error{
9797
Code: c,

0 commit comments

Comments
 (0)