aboutsummaryrefslogtreecommitdiffstats
path: root/src/Data/JLD/Error.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/JLD/Error.hs')
-rw-r--r--src/Data/JLD/Error.hs2
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
46toJldErrorCode :: JLDError e -> Text 47toJldErrorCode :: JLDError e -> Text
@@ -79,3 +80,4 @@ toJldErrorCode InvalidLanguageTaggedValue = "invalid language-tagged value"
79toJldErrorCode InvalidTypedValue = "invalid typed value" 80toJldErrorCode InvalidTypedValue = "invalid typed value"
80toJldErrorCode InvalidSetOrListObject = "invalid set or list object" 81toJldErrorCode InvalidSetOrListObject = "invalid set or list object"
81toJldErrorCode InvalidScopedContext = "invalid scoped context" 82toJldErrorCode InvalidScopedContext = "invalid scoped context"
83toJldErrorCode ConflictingIndexes = "conflicting indexes"