MCPcopy
hub / github.com/coredns/coredns / Error

Function Error

plugin/plugin.go:71–71  ·  view source on GitHub ↗

Error returns err with 'plugin/name: ' prefixed to it.

(name string, err error)

Source from the content-addressed store, hash-verified

69
70// Error returns err with 'plugin/name: ' prefixed to it.
71func Error(name string, err error) error { return fmt.Errorf("%s/%s: %w", "plugin", name, err) }
72
73// NextOrFailure calls next.ServeDNS when next is not nil, otherwise it will return, a ServerFailure and a `no next plugin found` error.
74//

Callers 15

setupFunction · 0.92
setupFunction · 0.92
setupFunction · 0.92
setupFunction · 0.92
setupFunction · 0.92
parseFunction · 0.92
setupFunction · 0.92
setupFunction · 0.92
setupFunction · 0.92
setupFunction · 0.92
ServeDNSMethod · 0.92
setupFunction · 0.92

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…