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

Struct testError

error_test.go:197–199  ·  view source on GitHub ↗

The testError is a value type error for ease of seeing results when the test fails.

Source from the content-addressed store, hash-verified

195// The testError is a value type error for ease of seeing results
196// when the test fails.
197type testError struct {
198 message string
199}
200
201func (e testError) Error() string {
202 return e.message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected