You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/exceptions-best-practices.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ This is usually done with the idea that in the future the error type will be cha
65
65
66
66
Generally the solution to the `ExceptTIO` anti-pattern is to return an `Either` from more functions and throw an exception for uncommon errors.Note that returning `Either` from `ExceptTIO` means there are now 3 distinct sources of errors in just one function.
67
67
68
-
Pleasenot that using ExceptT, etc with a non-IO base monad (for example with pure code) is a perfectly fine pattern.
68
+
Pleasenote that using ExceptT, etc with a non-IO base monad (for example with pure code) is a perfectly fine pattern.
0 commit comments