|
|
|
|
|
by lenkite
101 days ago
|
|
I close my nose and always wrap errors with a sentinel error for public functions/methods so that callers can check with `errors.Is`. And you can always identify the place in the call-stack where the error occurred. I need to start getting used to context with cancel cause - muscle memory hasn't changed yet. |
|