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

Commit

Permalink
README.md: "nor" -> "not", backtick causer (#16)
Browse files Browse the repository at this point in the history
Note there's inconsistency on the casing of `causer` in the README and function documentation.
  • Loading branch information
judwhite authored and davecheney committed May 2, 2016
1 parent 7a0abd8 commit 42fa80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type causer interface {
Cause() error
}
```
`errors.Cause` will recursively retrieve the topmost error which does nor implement causer, which is assumed to be the original cause. For example:
`errors.Cause` will recursively retrieve the topmost error which does not implement `causer`, which is assumed to be the original cause. For example:
```
switch err := errors.Cause(err).(type) {
case *MyError:
Expand Down

0 comments on commit 42fa80f

Please sign in to comment.