toml-parser-0.1.0.0: Parser for the TOML configuration language

Copyright(c) Eric Mertens 2017
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellSafe
LanguageHaskell2010

TOML.Errors

Description

 

Synopsis

Documentation

data TOMLError Source #

Errors that can occur while loading a TOML file.

Constructors

Unexpected (Located Token)

unexpected token while parser

Unterminated (Located Token)

unterminated token while parser

OverlappingKey [Text]

ambiguous table entry

showToken :: Token -> String Source #

Generates a human-readable description of a token.

showLexerError :: LexerError -> String Source #

Generates a human-readable description of a lexical error.