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

Interface Locationer

error.go:37–41  ·  view source on GitHub ↗

Locationer is an interface that represents a certain class of errors that contain the location information from where they were raised.

Source from the content-addressed store, hash-verified

35// Locationer is an interface that represents a certain class of errors that
36// contain the location information from where they were raised.
37type Locationer interface {
38 // Location returns the path-qualified function name where the error was
39 // created and the line number
40 Location() (function string, line int)
41}
42
43// locationError is the internal implementation of the Locationer interface.
44type locationError struct {

Callers 2

DetailsFunction · 0.65
errorStackFunction · 0.65

Implementers 2

Errerror.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…