haverer-0.3.0.0: Implementation of the rules of Love Letter
Haverer.Internal.Error
Synopsis
assertRight :: Show a => Text -> Either a b -> b Source
Assert that the value is Right. Throws error if it's Left.
assertRight' :: Show a => Either a b -> b Source
terror :: Text -> a
error applied to Text
error
Text
Since 0.4.1