basic examples
This commit is contained in:
@@ -118,3 +118,9 @@ data FatalError = FatalError {msg :: Text}
|
||||
```haskell
|
||||
panic :: Text -> a
|
||||
```
|
||||
|
||||
Terminate with an uncatchable fatal error.
|
||||
|
||||
```haskell
|
||||
> panic "Fatal error occured.
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user