Paczesiowa/hsenv — Issue #3: add exception wrapper
Author: Paczesiowa
Created: 2011-11-12 20:23:34+00:00
State: open

when exception is thrown from down the call stack (like from runProcess) it's message is useless to the user (process failed with status 127 doesn't tell anything about missing ghc-pkg). add wrappers that will catch an exception, modify its message to be more meaningful to the user and throw it again