Generalise 'handleGhcException' to work with any 'ExceptionMonad'.