MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / wrap

Function wrap

internal/limits/limits_test.go:268–271  ·  view source on GitHub ↗

wrap exists to test errors.As traversal through fmt.Errorf chains — real callers will commonly wrap with context.

(err error)

Source from the content-addressed store, hash-verified

266// wrap exists to test errors.As traversal through fmt.Errorf chains —
267// real callers will commonly wrap with context.
268func wrap(err error) error {
269 type wrapper struct{ inner error }
270 return &wrappedErr{inner: err}
271}
272
273type wrappedErr struct{ inner error }
274

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected