TLDR · QUICK LINKS

WHY I PREFER EXCEPTIONS TO ERROR VALUES

cedardb.com17 min read

Summary from the TLDR newsletter

Exceptions have several advantages over error return values, for example, they keep the error path distinct, making it easy to provide root-cause context by default.