Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Sutori.Error.Report
Description
- logError :: SutLogger -> [(SutError, SutLog)]
- lexerError :: String -> SutMonad ()
- parserError :: SutToken -> SutMonad a
- typeError :: SutExpression -> SutType -> SutType -> String -> SutMonad ()
- undefinedError :: SutID -> SymbolCat -> String -> SutMonad ()
- duplicateSymbolError :: SutSymbol a => a -> SutMonad ()
- duplicateMemberError :: SutID -> SutMonad ()
- argumentsNumberError :: SutID -> Int -> Int -> SutMonad ()
Documentation
lexerError :: String -> SutMonad () Source #
Logs a lexical error and continues
parserError :: SutToken -> SutMonad a Source #
Logs a parsing error and throws out
typeError :: SutExpression -> SutType -> SutType -> String -> SutMonad () Source #
Logs a type error and continues
undefinedError :: SutID -> SymbolCat -> String -> SutMonad () Source #
Logs an undefined symbol error and continues
duplicateSymbolError :: SutSymbol a => a -> SutMonad () Source #
Logs a duplicate symbol error and continues
duplicateMemberError :: SutID -> SutMonad () Source #
Logs a duplicate member error and continues