Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Oct 10, 2022
1 parent 73b9d3c commit 6e10f85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion def.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ type causers interface {
// Container represents an error container which can hold a group
// of inner errors.
type Container interface {
// IsEmpty tests has attached errors
// IsEmpty returns true if Error is an error container which holded any inner errors.
//
// IsEmpty tests if it has any attached errors
IsEmpty() bool
// Defer can be used as a defer function to simplify your codes.
//
Expand Down

0 comments on commit 6e10f85

Please sign in to comment.