MCPcopy Index your code
hub / github.com/tinylib/msgp / withContext

Method withContext

msgp/errors.go:50–50  ·  view source on GitHub ↗

withContext must not modify the error instance - it must clone and return a new error with the context added.

(ctx string)

Source from the content-addressed store, hash-verified

48 // withContext must not modify the error instance - it must clone and
49 // return a new error with the context added.
50 withContext(ctx string) error
51}
52
53// Cause returns the underlying cause of an error that has been wrapped

Callers 1

WrapErrorFunction · 0.65

Implementers 8

errFatalmsgp/errors.go
ArrayErrormsgp/errors.go
IntOverflowmsgp/errors.go
UintOverflowmsgp/errors.go
InvalidTimestampmsgp/errors.go
UintBelowZeromsgp/errors.go
TypeErrormsgp/errors.go
ErrUnsupportedTypemsgp/errors.go

Calls

no outgoing calls

Tested by

no test coverage detected