Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data HighlightErr = HighlightRegexCompileErr RawRegex
- handleErr :: HighlightErr -> IO a
Documentation
data HighlightErr Source #
Sum-type representing all errors that can be thrown by this application.
HighlightRegexCompileErr RawRegex | Error when trying to compile the |
handleErr :: HighlightErr -> IO a Source #
Call die
with an error message based on HighlightErr
.