pandoc-1.15: Conversion between markup formats

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

Text.Pandoc.Error

Description

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

Synopsis

Documentation

data PandocError Source

Constructors

ParseFailure String

Generic parse failure

ParsecError Input ParseError

Error thrown by a Parsec parser

handleError :: Either PandocError a -> a Source

An unsafe method to handle PandocErrors.