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
- exceptions are expectable, not exceptional
- error/exception handling
- difficult/hard problem
- error/exception handling: spotting potential exceptions is hard
- key point
- exceptions that are not exceptional
- easy to miss / not notice (attention)
- anticipating what could go wrong / error/exception cases
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
-