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