Skip to content

Commit

Permalink
Explanatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav committed Jun 30, 2017
1 parent bdd0f26 commit 4a35849
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zapcore/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ type causer interface {
Cause() error
}

// Note that errArry and errArrayElem are very similar to the version
// implemented in the top-level error.go file. We can't re-use this because
// that would require exporting errArray as part of the zapcore API.

// Encodes a list of errors using the standard error encoding logic.
type errArray []error

Expand Down

0 comments on commit 4a35849

Please sign in to comment.