Hacker News new | ask | show | jobs
by preseinger 1241 days ago
In Go when some code writes `panic` it is expressing an error condition which should not be intercepted by callers and is expected to terminate the process. A panic is not an error, and panics should not be recovered as if they were errors.