withContext must not modify the error instance - it must clone and return a new error with the context added.
(ctx string)
| 48 | // withContext must not modify the error instance - it must clone and |
| 49 | // return a new error with the context added. |
| 50 | withContext(ctx string) error |
| 51 | } |
| 52 | |
| 53 | // Cause returns the underlying cause of an error that has been wrapped |
no outgoing calls
no test coverage detected