| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Language.Ginger.RuntimeError
Synopsis
- data RuntimeError
- prettyRuntimeError :: RuntimeError -> String
Documentation
data RuntimeError Source #
Constructors
| ArgumentError | |
| TagError | |
| NonCallableObjectError Text | Object that was attempted to be used as a callable |
| NotInScopeError Text | Identifier |
| NotImplementedError Text | The thing that isn't implemented |
| NumericError | |
| TemplateFileNotFoundError Text | Template name |
| TemplateParseError | |
| FatalError Text | |
| PositionedError !SourcePosition !RuntimeError | |
Instances
prettyRuntimeError :: RuntimeError -> String Source #
Pretty-print a RuntimeError. The output is meant to be useful as a
user-facing error message.