MCPcopy Create free account
hub / github.com/allegro/bigcache / Error

Method Error

queue/bytes_queue.go:213–215  ·  view source on GitHub ↗

Error returns error message

()

Source from the content-addressed store, hash-verified

211
212// Error returns error message
213func (e *queueError) Error() string {
214 return e.message
215}
216
217// peekCheckErr is identical to peek, but does not actually return any data
218func (q *BytesQueue) peekCheckErr(index int) error {

Callers 7

TestPushAndPopFunction · 0.45
TestPeekFunction · 0.45
TestResetFunction · 0.45
TestMaxSizeLimitFunction · 0.45

Calls

no outgoing calls

Tested by 7

TestPushAndPopFunction · 0.36
TestPeekFunction · 0.36
TestResetFunction · 0.36
TestMaxSizeLimitFunction · 0.36