we also wrap them in Failure to solve the second problem: spotting potential exceptions is hard
3 Matching Annotations
- Feb 2021
-
sobolevn.me sobolevn.me
-
-
exceptions are not exceptional, they represent expectable problems
Tags
- key point
- exceptions are expectable, not exceptional
- error/exception handling
- error/exception handling: spotting potential exceptions is hard
- difficult/hard problem
- easy to miss / not notice (attention)
- anticipating what could go wrong / error/exception cases
- exceptions that are not exceptional
Annotators
URL
-
-
trailblazer.to trailblazer.to
-
Things could go wrong in two places here. First, the validation could fail if Github sends us data we don’t understand. Second, we might not know the user signing in, meaning the “find user” logic has to error-out
-