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

Method Error

functions_test.go:342–344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340}
341
342func (b *basicError) Error() string {
343 return b.Reason
344}
345
346func (*functionSuite) TestAs(c *gc.C) {
347 baseError := &basicError{"I'm an error"}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected