Hide takes an error and silences it's error string from appearing in fmt like
(err error)
| 447 | // Hide takes an error and silences it's error string from appearing in fmt |
| 448 | // like |
| 449 | func Hide(err error) error { |
| 450 | if err == nil { |
| 451 | return nil |
| 452 | } |
| 453 | return &fmtNoop{err} |
| 454 | } |
no outgoing calls
searching dependent graphs…