| 100 | } |
| 101 | |
| 102 | type sampledError struct { |
| 103 | err error |
| 104 | shouldLog bool |
| 105 | reason string |
| 106 | } |
| 107 | |
| 108 | func (e sampledError) Error() string { return e.err.Error() } |
| 109 | func (e sampledError) Unwrap() error { return e.err } |
nothing calls this directly
no outgoing calls
no test coverage detected