MCPcopy Index your code
hub / github.com/go-openapi/jsonpointer / errOutOfBounds

Function errOutOfBounds

errors.go:42–44  ·  view source on GitHub ↗
(length, idx int)

Source from the content-addressed store, hash-verified

40}
41
42func errOutOfBounds(length, idx int) error {
43 return fmt.Errorf("index out of bounds array[0,%d] index '%d': %w", length-1, idx, ErrPointer)
44}
45
46func errInvalidReference(token string) error {
47 return fmt.Errorf("invalid token reference %q: %w", token, ErrPointer)

Callers 3

resolveNodeForTokenMethod · 0.85
getSingleImplFunction · 0.85
setSingleImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…