Util.Exception
Contents
throwLeft :: (MonadThrow m, Exception e) => m (Either e a) -> m a Source #
If monadic action returns a Left value, it will be thrown. Otherwise the returned value will be returned as is.
Left