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

Method Location

error.go:73–75  ·  view source on GitHub ↗

*locationError implements Locationer.Location interface

()

Source from the content-addressed store, hash-verified

71
72// *locationError implements Locationer.Location interface
73func (l *locationError) Location() (string, int) {
74 return l.function, l.line
75}
76
77func (l *locationError) Unwrap() error {
78 return l.error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected