MCPcopy Create free account
hub / github.com/Workiva/go-datastructures / Error

Method Error

bitarray/error.go:26–28  ·  view source on GitHub ↗

Error returns a human readable description of the out-of-range error.

()

Source from the content-addressed store, hash-verified

24
25// Error returns a human readable description of the out-of-range error.
26func (err OutOfRangeError) Error() string {
27 return fmt.Sprintf(`Index %d is out of range.`, err)
28}

Callers 6

newIDFunction · 0.45
TestGetBitAtCapacityFunction · 0.45
TestSetBitAtCapacityFunction · 0.45
TestClearBitAtCapacityFunction · 0.45
TestUnmarshalErrorsFunction · 0.45
TestNoCalculateBytesFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestGetBitAtCapacityFunction · 0.36
TestSetBitAtCapacityFunction · 0.36
TestClearBitAtCapacityFunction · 0.36
TestUnmarshalErrorsFunction · 0.36
TestNoCalculateBytesFunction · 0.36