Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Common exceptions
Documentation
data NotAllowed entity user Source #
NotAllowed entity user |
Instances
(Eq entity, Eq user) => Eq (NotAllowed entity user) Source # | |
Defined in Data.Exception.Types (==) :: NotAllowed entity user -> NotAllowed entity user -> Bool # (/=) :: NotAllowed entity user -> NotAllowed entity user -> Bool # | |
(Show entity, Show user) => Show (NotAllowed entity user) Source # | |
Defined in Data.Exception.Types showsPrec :: Int -> NotAllowed entity user -> ShowS # show :: NotAllowed entity user -> String # showList :: [NotAllowed entity user] -> ShowS # |
newtype AlreadyExists entity Source #
AlreadyExists entity |
Instances
Eq entity => Eq (AlreadyExists entity) Source # | |
Defined in Data.Exception.Types (==) :: AlreadyExists entity -> AlreadyExists entity -> Bool # (/=) :: AlreadyExists entity -> AlreadyExists entity -> Bool # | |
Show entity => Show (AlreadyExists entity) Source # | |
Defined in Data.Exception.Types showsPrec :: Int -> AlreadyExists entity -> ShowS # show :: AlreadyExists entity -> String # showList :: [AlreadyExists entity] -> ShowS # |
newtype OutOfBounds entity index Source #
OutOfBounds index |
Instances
Eq index => Eq (OutOfBounds entity index) Source # | |
Defined in Data.Exception.Types (==) :: OutOfBounds entity index -> OutOfBounds entity index -> Bool # (/=) :: OutOfBounds entity index -> OutOfBounds entity index -> Bool # | |
Show index => Show (OutOfBounds entity index) Source # | |
Defined in Data.Exception.Types showsPrec :: Int -> OutOfBounds entity index -> ShowS # show :: OutOfBounds entity index -> String # showList :: [OutOfBounds entity index] -> ShowS # |
data DivideByZero Source #
Instances
Eq DivideByZero Source # | |
Defined in Data.Exception.Types (==) :: DivideByZero -> DivideByZero -> Bool # (/=) :: DivideByZero -> DivideByZero -> Bool # | |
Show DivideByZero Source # | |
Defined in Data.Exception.Types showsPrec :: Int -> DivideByZero -> ShowS # show :: DivideByZero -> String # showList :: [DivideByZero] -> ShowS # |