Safe marks a value as safe for including in a redacted error.
(a any)
| 170 | |
| 171 | // Safe marks a value as safe for including in a redacted error. |
| 172 | func Safe(a any) any { |
| 173 | return safe{a} |
| 174 | } |
| 175 | |
| 176 | // safeError is an error that can redact its message. |
| 177 | type safeError struct { |
no outgoing calls