Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
radlad
on June 1, 2025
|
parent
|
context
|
favorite
| on:
Structured Errors in Go (2022)
You can also just assign your errors to variables, and typically you only need to do so for the innermost error. Wrapping calls can just use Errorf with the %w operator.
Horses for courses.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Horses for courses.