Rename msg to fatalErrorMessage. (#34)

This is to free up `msg` as a variable name.
This commit is contained in:
Ian Jeffries
2017-01-01 18:45:08 -05:00
committed by Stephen Diehl
parent d0e81532af
commit 51fdf38c71
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -5,6 +5,7 @@
* Switch exported `(<>)` to be from `Data.Monoid` instead of Semigroup.
* Expose `putByteString` and `putLByteString` monomorphic versions of `putStrLn` functions
* Export `genericLength` and other generic list return functions.
* Rename `msg` to `fatalErrorMessage`.
* Export `ExceptT`, `ReaderT`, and `StateT` constructors.
* Export `NonEmpty` type and constructor for GHC 8.0.
+1 -1
View File
@@ -426,6 +426,7 @@
* expt
* expts
* expts10
* fatalErrorMessage
* filter
* filterM
* finally
@@ -658,7 +659,6 @@
* modifyMVarMasked_
* modifyMVar_
* mplus
* msg
* msum
* myThreadId
* mzero
+1 -1
View File
@@ -110,7 +110,7 @@ Fatal Errors
------------
```haskell
data FatalError = FatalError {msg :: Text}
data FatalError = FatalError {fatalErrorMessage :: Text}
```
#### panic
+1 -1
View File
@@ -12,7 +12,7 @@ import Data.Typeable (Typeable)
import Control.Exception as X
-- | Uncatchable exceptions thrown and never caught.
data FatalError = FatalError { msg :: Text }
data FatalError = FatalError { fatalErrorMessage :: Text }
deriving (Show, Typeable)
instance Exception FatalError