packages feed

papa-0.7.0: src/Papa/Base/Control/Monad/Error.hs

{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -Wall #-}

-- | Errors: the class, and the exception monad transformer.
module Papa.Base.Control.Monad.Error (
  module P,
) where

import Control.Monad.Except as P (
  Except,
  ExceptT (ExceptT),
  MonadError (catchError, throwError),
  liftEither,
  mapExceptT,
  runExcept,
  runExceptT,
  withExcept,
  withExceptT,
 )
import Control.Monad.Trans.Except as P (except)