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