Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit 1c843d4

Browse files
committed
spelling
1 parent bca5e19 commit 1c843d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Package errors implements functions for manipulating errors.
44

5-
The tranditional error handling idiom in Go is roughly akin to
5+
The traditional error handling idiom in Go is roughly akin to
66
```
77
if err != nil {
88
return err
@@ -23,7 +23,7 @@ In addition, errors.Wrap records the file and line where it was called, allowing
2323

2424
## Retrieving the cause of an error
2525

26-
Using errors.Wrap constructs a stack of errors, adding context to the preceeding error. Depending on the nature of the error it may be necessary to recerse the operation of errors.Wrap to retrieve the original error for inspection. Any error value which implements this interface
26+
Using errors.Wrap constructs a stack of errors, adding context to the preceding error. Depending on the nature of the error it may be necessary to recurse the operation of errors.Wrap to retrieve the original error for inspection. Any error value which implements this interface
2727
```
2828
type causer interface {
2929
Cause() error

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Package errors implements functions for manipulating errors.
22
//
3-
// The tranditional error handling idiom in Go is roughly akin to
3+
// The traditional error handling idiom in Go is roughly akin to
44
//
55
// if err != nil {
66
// return err

0 commit comments

Comments
 (0)