Error and Unwrap implement the error interface and allow errors.Is and errors.As to work with traceError.
()
| 454 | |
| 455 | // Error and Unwrap implement the error interface and allow errors.Is and errors.As to work with traceError. |
| 456 | func (e *traceError) Error() string { return e.err.Error() } |
| 457 | func (e *traceError) Unwrap() error { return e.err } |
| 458 | |
| 459 | // withTrace wraps an error with trace data if a collector is present. |
no outgoing calls