mmzk-typeid-0.6.0.1: A TypeID implementation for Haskell
LicenseMIT
Maintainermmzk1526@outlook.com
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.TypeID.Error

Contents

Description

TypeID Error type.

Synopsis

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 KindID conversion. The prefix doesn't match with the expected.

TypeIDErrorUUIDError

The UUID suffix has errors.