module Data.HodaTime.Exceptions
(
DayRequiredException(..)
,MonthRequiredException(..)
,YearRequiredException(..)
)
where
import Control.Exception (Exception)
import Data.Typeable (Typeable)
data DayRequiredException = DayRequiredException
deriving (Typeable, Int -> DayRequiredException -> ShowS
[DayRequiredException] -> ShowS
DayRequiredException -> String
(Int -> DayRequiredException -> ShowS)
-> (DayRequiredException -> String)
-> ([DayRequiredException] -> ShowS)
-> Show DayRequiredException
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DayRequiredException -> ShowS
showsPrec :: Int -> DayRequiredException -> ShowS
$cshow :: DayRequiredException -> String
show :: DayRequiredException -> String
$cshowList :: [DayRequiredException] -> ShowS
showList :: [DayRequiredException] -> ShowS
Show)
instance Exception DayRequiredException
data MonthRequiredException = MonthRequiredException
deriving (Typeable, Int -> MonthRequiredException -> ShowS
[MonthRequiredException] -> ShowS
MonthRequiredException -> String
(Int -> MonthRequiredException -> ShowS)
-> (MonthRequiredException -> String)
-> ([MonthRequiredException] -> ShowS)
-> Show MonthRequiredException
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> MonthRequiredException -> ShowS
showsPrec :: Int -> MonthRequiredException -> ShowS
$cshow :: MonthRequiredException -> String
show :: MonthRequiredException -> String
$cshowList :: [MonthRequiredException] -> ShowS
showList :: [MonthRequiredException] -> ShowS
Show)
instance Exception MonthRequiredException
data YearRequiredException = YearRequiredException
deriving (Typeable, Int -> YearRequiredException -> ShowS
[YearRequiredException] -> ShowS
YearRequiredException -> String
(Int -> YearRequiredException -> ShowS)
-> (YearRequiredException -> String)
-> ([YearRequiredException] -> ShowS)
-> Show YearRequiredException
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> YearRequiredException -> ShowS
showsPrec :: Int -> YearRequiredException -> ShowS
$cshow :: YearRequiredException -> String
show :: YearRequiredException -> String
$cshowList :: [YearRequiredException] -> ShowS
showList :: [YearRequiredException] -> ShowS
Show)
instance Exception YearRequiredException