File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ func (e Error) Is(target error) bool
180180```go
181181func (e Error) Unwrap() error
182182```
183- Unwrap the last error for compatible with the `errors.Unwrap()` when you need
184- unwrap all erros , you should use `WrappedErrors()` instead
183+ Unwrap the last error for compatibility with `errors.Unwrap()`. When you need to
184+ unwrap all errors , you should use `WrappedErrors()` instead.
185185
186186 err := Do(
187187 func() error {
@@ -192,7 +192,7 @@ unwrap all erros, you should use `WrappedErrors()` instead
192192
193193 fmt.Println (errors.Unwrap (err)) # " original error" is printed
194194
195- added in version 4.2.0
195+ Added in version 4.2.0 .
196196
197197#### func (Error) WrappedErrors
198198
Original file line number Diff line number Diff line change 1- 4.3.1
1+ 4.3.2
You can’t perform that action at this time.
0 commit comments