Error returns err with 'plugin/name: ' prefixed to it.
(name string, err error)
| 69 | |
| 70 | // Error returns err with 'plugin/name: ' prefixed to it. |
| 71 | func 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 | // |
no test coverage detected
searching dependent graphs…