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

Commit 2c9da72

Browse files
committed
fix typos
1 parent 3cdd332 commit 2c9da72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ See [the documentation for `Frame.Format`](https://godoc.org/github.com/pkg/erro
3939

4040
## Retrieving the cause of an error
4141

42-
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 can be inspected by `errors.Cause`.
42+
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 reverse the operation of errors.Wrap to retrieve the original error for inspection. Any error value which implements this interface can be inspected by `errors.Cause`.
4343
```go
4444
type causer interface {
4545
Cause() error

stack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
)
1010

11-
// Frame repesents an activation record.
11+
// Frame represents an activation record.
1212
type Frame uintptr
1313

1414
// pc returns the program counter for this frame;

0 commit comments

Comments
 (0)