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

Struct error_

error_test.go:177–180  ·  view source on GitHub ↗

This is an uncomparable error type, as it is a struct that supports the error interface (as opposed to a pointer type).

Source from the content-addressed store, hash-verified

175// This is an uncomparable error type, as it is a struct that supports the
176// error interface (as opposed to a pointer type).
177type error_ struct {
178 info string
179 slice []string
180}
181
182// Create a non-comparable error
183func newNonComparableError(message string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected