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