MCPcopy Index your code
hub / github.com/pkg/errors / withMessage

Struct withMessage

errors.go:239–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239type withMessage struct {
240 cause error
241 msg string
242}
243
244func (w *withMessage) Error() string { return w.msg + ": " + w.cause.Error() }
245func (w *withMessage) Cause() error { return w.cause }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected