SafeDetailer is an interface that can be implemented by errors that can provide PII-free additional strings suitable for reporting or telemetry.
| 25 | // can provide PII-free additional strings suitable for reporting or |
| 26 | // telemetry. |
| 27 | type SafeDetailer interface { |
| 28 | SafeDetails() []string |
| 29 | } |
| 30 | |
| 31 | // GetAllSafeDetails collects the safe details from the given error object |
| 32 | // and all its causes. |
no outgoing calls
no test coverage detected
searching dependent graphs…