Hacker News new | ask | show | jobs
by preseinger 1526 days ago
Even if an error is unrecoverable by the caller, that doesn't mean it should be a `panic`. If a server is running your code in a request handler, a `panic` would normally terminate the entire process. That's never what anyone wants.