diff options
Diffstat (limited to 'src/Data/JLD/Error.hs')
-rw-r--r-- | src/Data/JLD/Error.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Data/JLD/Error.hs b/src/Data/JLD/Error.hs index 91c2a0b..fe59df0 100644 --- a/src/Data/JLD/Error.hs +++ b/src/Data/JLD/Error.hs | |||
@@ -41,6 +41,7 @@ data JLDError e | |||
41 | | InvalidTypedValue | 41 | | InvalidTypedValue |
42 | | InvalidSetOrListObject | 42 | | InvalidSetOrListObject |
43 | | InvalidScopedContext | 43 | | InvalidScopedContext |
44 | | ConflictingIndexes | ||
44 | deriving (Eq, Show) | 45 | deriving (Eq, Show) |
45 | 46 | ||
46 | toJldErrorCode :: JLDError e -> Text | 47 | toJldErrorCode :: JLDError e -> Text |
@@ -79,3 +80,4 @@ toJldErrorCode InvalidLanguageTaggedValue = "invalid language-tagged value" | |||
79 | toJldErrorCode InvalidTypedValue = "invalid typed value" | 80 | toJldErrorCode InvalidTypedValue = "invalid typed value" |
80 | toJldErrorCode InvalidSetOrListObject = "invalid set or list object" | 81 | toJldErrorCode InvalidSetOrListObject = "invalid set or list object" |
81 | toJldErrorCode InvalidScopedContext = "invalid scoped context" | 82 | toJldErrorCode InvalidScopedContext = "invalid scoped context" |
83 | toJldErrorCode ConflictingIndexes = "conflicting indexes" | ||