MCPcopy
hub / github.com/uber-go/zap / Errors

Function Errors

array.go:265–267  ·  view source on GitHub ↗

Errors constructs a field that carries a slice of errors.

(key string, errs []error)

Source from the content-addressed store, hash-verified

263
264// Errors constructs a field that carries a slice of errors.
265func Errors(key string, errs []error) Field {
266 return Array(key, errArray(errs))
267}
268
269type bools []bool
270

Callers 4

BenchmarkErrorsFieldFunction · 0.85
TestErrorConstructorsFunction · 0.85

Calls 2

ArrayFunction · 0.85
errArrayTypeAlias · 0.70

Tested by 4

BenchmarkErrorsFieldFunction · 0.68
TestErrorConstructorsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…