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

Function newError

error_test.go:191–193  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

189}
190
191func newError(message string) error {
192 return testError{message}
193}
194
195// The testError is a value type error for ease of seeing results
196// when the test fails.

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…