diff options
Diffstat (limited to 'src/Text/Pandoc/Error.hs')
| -rw-r--r-- | src/Text/Pandoc/Error.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Error.hs b/src/Text/Pandoc/Error.hs index b52573177..22f613c1e 100644 --- a/src/Text/Pandoc/Error.hs +++ b/src/Text/Pandoc/Error.hs @@ -68,6 +68,8 @@ data PandocError = PandocIOError Text IOError deriving (Show, Typeable, Generic) instance Exception PandocError + where + displayException = T.unpack . renderError renderError :: PandocError -> Text renderError e = |
