Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype UnexpectedArgument = UnexpectedArgument String
- fromString :: String -> UnexpectedArgument
Documentation
newtype UnexpectedArgument Source #
This exception is thrown when an unexpected command line argument is encountered.
Instances
Exception UnexpectedArgument Source # | |
Show UnexpectedArgument Source # | |
Defined in CabalGild.Exception.UnexpectedArgument showsPrec :: Int -> UnexpectedArgument -> ShowS # show :: UnexpectedArgument -> String # showList :: [UnexpectedArgument] -> ShowS # | |
Eq UnexpectedArgument Source # | |
Defined in CabalGild.Exception.UnexpectedArgument (==) :: UnexpectedArgument -> UnexpectedArgument -> Bool # (/=) :: UnexpectedArgument -> UnexpectedArgument -> Bool # |
fromString :: String -> UnexpectedArgument Source #
Constructs an UnexpectedArgument
from the given String
.