Safe Haskell | None |
---|---|
Language | Haskell2010 |
Michelson.Parser.Error
Description
Custom exceptions that can happen during parsing.
Synopsis
Documentation
data CustomParserException Source #
Constructors
Instances
data StringLiteralParserException Source #
Constructors
InvalidEscapeSequence Char | |
InvalidChar Char |
Instances
data ParseErrorBundle s e #
A non-empty collection of ParseError
s equipped with PosState
that
allows to pretty-print the errors efficiently and correctly.
Since: megaparsec-7.0.0
Instances
data ParserException Source #
Constructors
ParserException (ParseErrorBundle Text CustomParserException) |
Instances
Eq ParserException Source # | |
Defined in Michelson.Parser.Error Methods (==) :: ParserException -> ParserException -> Bool # (/=) :: ParserException -> ParserException -> Bool # | |
Show ParserException Source # | |
Defined in Michelson.Parser.Error Methods showsPrec :: Int -> ParserException -> ShowS # show :: ParserException -> String # showList :: [ParserException] -> ShowS # | |
Exception ParserException Source # | |
Defined in Michelson.Parser.Error Methods toException :: ParserException -> SomeException # | |
Buildable ParserException Source # | |
Defined in Michelson.Parser.Error Methods build :: ParserException -> Builder # |