FormatError prints the receiver's first error. The return value decides what happens in the case FormatError() is used to produce a "short" message, eg. when it is used to implement Error(): - if it returns nil, then the short message contains no more than that produced for this error, even if the
(p Printer)
| 45 | // Note that all the causal chain is reported in verbose reports in |
| 46 | // any case. |
| 47 | FormatError(p Printer) (next error) |
| 48 | } |
| 49 | |
| 50 | // SafeFormatter is implemented by error leaf or wrapper types that want |
no outgoing calls
no test coverage detected