diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-12-01 12:13:51 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-01-25 17:07:40 +0100 |
commit | 3574b98f81c2c24f7ef31f8251ba88792a2c06f0 (patch) | |
tree | 8bf439b943cf82d260fffd1d627db0608b1ef34f /src/Text/Pandoc/Readers/RST.hs | |
parent | 52859b98632e991e94a3d37c0e0ae6c5d3b3fa34 (diff) | |
download | pandoc-3574b98f81c2c24f7ef31f8251ba88792a2c06f0.tar.gz |
Unify Errors.
Diffstat (limited to 'src/Text/Pandoc/Readers/RST.hs')
-rw-r--r-- | src/Text/Pandoc/Readers/RST.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs index 4232f1c90..a20e29e93 100644 --- a/src/Text/Pandoc/Readers/RST.hs +++ b/src/Text/Pandoc/Readers/RST.hs @@ -51,7 +51,8 @@ import Data.Char (toLower, isHexDigit, isSpace) import Data.Monoid ((<>)) import Control.Monad.Except (throwError) import Control.Monad.Trans (lift) -import Text.Pandoc.Class (PandocMonad, PandocExecutionError(..)) +import Text.Pandoc.Error +import Text.Pandoc.Class (PandocMonad) import qualified Text.Pandoc.Class as P -- | Parse reStructuredText string and return Pandoc document. |