pandoc-2.0.1.1: Conversion between markup formats

CopyrightCopyright (C) 2006-2017 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Text.Pandoc.Error

Description

This module provides a standard way to deal with possible errors encounted during parsing.

Synopsis

Documentation

handleError :: Either PandocError a -> IO a Source #

Handle PandocError by exiting with an error message.