Better example text for panic.

This commit is contained in:
Stephen Diehl
2016-07-02 17:31:00 -04:00
parent 827c0ef87b
commit b621258ce7
+1 -1
View File
@@ -121,7 +121,7 @@ This is by design. For fatal uncatchable errors use the provided ``panic``
function if you intend the program to immediately abort.
```haskell
panic "This is fatal my failure"
panic "Thus I die. Thus, thus, thus. Now I am dead"
```
If inside of IO simply use ``throwIO`` for exception handling, or if in pure