MCPcopy Create free account
hub / github.com/juju/errors / newNonComparableError

Function newNonComparableError

error_test.go:183–185  ·  view source on GitHub ↗

Create a non-comparable error

(message string)

Source from the content-addressed store, hash-verified

181
182// Create a non-comparable error
183func newNonComparableError(message string) error {
184 return error_{info: message}
185}
186
187func (e error_) Error() string {
188 return e.info

Callers 2

TestErrorStackMethod · 0.85
TestErrorStringMethod · 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…