MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / Len

Method Len

base/error.go:350–355  ·  view source on GitHub ↗

Len returns length of the inner error slice

()

Source from the content-addressed store, hash-verified

348
349// Len returns length of the inner error slice
350func (me *MultiError) Len() int {
351 if me == nil {
352 return 0
353 }
354 return len(me.Errors)
355}
356
357// ErrorOrNil
358func (me *MultiError) ErrorOrNil() error {

Callers 3

TestMultiErrorFunction · 0.95
RunMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestMultiErrorFunction · 0.76