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
snoyberg edited this page Dec 12, 2012
·
2 revisions
Create user-friendly Show instances for Exception datatypes. That way, if the message makes it to the user, it will mean something.
I don't do this part enough, but in theory: Whenever you have a library which calls a non-user-facing library that can throw exceptions, wrap those exceptions in an exception type for your library. Example: I should really modify http-conduit to wrap exceptions from network in something more user-friendly.