News for hackers. Stuff that matters.
Re:Convert curl commands to Go code by mholt on Wednesday February 10, 2016 @05:57PM (#11076867)
Varies widely. Usually you just return the error to let it bubble up to the first caller with enough context to handle it properly. You can also wrap the error message in a string that helps trace the path of the error. If it gets up to main(), you log it and maybe terminate (some errors are fatal, others aren't).

There are no comments on this comment yet.