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