Hacker News new | ask | show | jobs
by hechang1997 2430 days ago
Yes. Exception is generally a decent solution to error handling unless you're using RAII languages like C++/Rust where unwinding the stack doesn't work well with destructors.