Ambiguous Errors Are the Mind Killer
The author argues that ambiguous, opaque error types are viral and prevent developers from effectively handling failures across software boundaries. By treating errors as second-class citizens, applications often resort to reverse-engineering or treating every failure like a bomb. The author contends that typed errors and explicit error contracts should be treated as core parts of an API so that callers can properly decide how to react to failures. Open article →