Evoke.Hsc
addWarning :: SrcSpan -> SDoc -> Hsc () Source #
Adds a warning, which only causes compilation to fail if -Werror is enabled.
-Werror
throwError :: SrcSpan -> SDoc -> Hsc a Source #
Throws an error, which will cause compilation to fail.