diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-11-26 23:43:54 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-01-25 17:07:39 +0100 |
commit | 23c5b0d0f1901aa3ab68391f927de4f5278b5942 (patch) | |
tree | 9b96e22a6135b0aae62ae498f4eebbf1dc990e8a /tests/writer.haddock | |
parent | 04487779b26458597fb751325b24c576b5088662 (diff) | |
download | pandoc-23c5b0d0f1901aa3ab68391f927de4f5278b5942.tar.gz |
Implement Errors in PandocMonad
Errors can be thrown purely with `throwError`. At the moment there are
only three kinds of errors:
1. PandocFileReadError FilePath (for problems reading a file from the
filesystem)
2. PandocShouldNeverHappenError String (for stuff that should never
happen but we need to pattern-match anyway)
3. PandocSomeError String (a grab bag of everything else)
Of course, we need to subdivide the third item in this list.
Diffstat (limited to 'tests/writer.haddock')
0 files changed, 0 insertions, 0 deletions