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

Method Error

error.go:65–70  ·  view source on GitHub ↗

Error implementes the error interface.

()

Source from the content-addressed store, hash-verified

63
64// Error implementes the error interface.
65func (l *locationError) Error() string {
66 if l.error == nil {
67 return ""
68 }
69 return l.error.Error()
70}
71
72// *locationError implements Locationer.Location interface
73func (l *locationError) Location() (string, int) {

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected