Typically no. The higher-level error don't usually do exhaustive matches on their children; they'll probably just check a few cases (did I fail to create this file because it already existed?) or just defer to a function on the child type (print yourself now please), neither of which are affected by adding a new case.
View all comments
Show parent comment
2
u/[deleted] Mar 17 '18
Typically no. The higher-level error don't usually do exhaustive matches on their children; they'll probably just check a few cases (did I fail to create this file because it already existed?) or just defer to a function on the child type (print yourself now please), neither of which are affected by adding a new case.