| License | MIT |
|---|---|
| Maintainer | mmzk1526@outlook.com |
| Portability | GHC |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Data.TypeID.Error
Contents
Description
TypeID Error type.
Data type
data TypeIDError Source #
Errors from parsing TypeIDs.
Constructors
| TypeIDErrorPrefixTooLong Int | The prefix longer than 63 characters. |
| TypeIDExtraSeparator | The ID contains an extra underscore separator. |
| TypeIDStartWithUnderscore | The ID starts with an underscore separator. |
| TypeIDEndWithUnderscore | The ID ends with an underscore separator. |
| TypeIDErrorPrefixInvalidChar Char | The prefix contains an invalid character, namely not lowercase Latin. |
| TypeIDErrorPrefixMismatch Text Text | From a |
| TypeIDErrorUUIDError | The |
Instances
| Exception TypeIDError Source # | |
Defined in Data.TypeID.Error Methods toException :: TypeIDError -> SomeException # fromException :: SomeException -> Maybe TypeIDError # displayException :: TypeIDError -> String # | |
| Show TypeIDError Source # | |
Defined in Data.TypeID.Error Methods showsPrec :: Int -> TypeIDError -> ShowS # show :: TypeIDError -> String # showList :: [TypeIDError] -> ShowS # | |
| Eq TypeIDError Source # | |
Defined in Data.TypeID.Error | |
| Ord TypeIDError Source # | |
Defined in Data.TypeID.Error Methods compare :: TypeIDError -> TypeIDError -> Ordering # (<) :: TypeIDError -> TypeIDError -> Bool # (<=) :: TypeIDError -> TypeIDError -> Bool # (>) :: TypeIDError -> TypeIDError -> Bool # (>=) :: TypeIDError -> TypeIDError -> Bool # max :: TypeIDError -> TypeIDError -> TypeIDError # min :: TypeIDError -> TypeIDError -> TypeIDError # | |