Skip to content

Commit

Permalink
docs: Add missing value in example (#37)
Browse files Browse the repository at this point in the history
Fix print statement in example to actually include the combined error
object.
  • Loading branch information
xiegeo authored Apr 23, 2020
1 parent b587143 commit 4a27324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
//
// errors := multierr.Errors(err)
// if len(errors) > 0 {
// fmt.Println("The following errors occurred:")
// fmt.Println("The following errors occurred:", errors)
// }
//
// Advanced Usage
Expand Down

0 comments on commit 4a27324

Please sign in to comment.