Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pretty-printers for reports in Tasty logs.
Documentation
:: Natural | The number of source code lines to print before and after the location of the error |
-> CallStack | The error's callstack |
-> String | The error message to display below the expression that caused the error |
-> IO Builder |
Pretty-prints an error by displaying:
- the source code where the error occurred
- the expression that threw the error
- an associated error message below said expression
- the error's callstack