summaryrefslogtreecommitdiff
path: root/lib/zambyte/meta/json.sld
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2023-02-17 15:26:26 -0500
committerRobby Zambito <contact@robbyzambito.me>2023-02-17 15:26:26 -0500
commit33a11464a8e346a08271a3c16be172ccb62af450 (patch)
tree983da6ec3846785e81820710db0ec88879e0e5f9 /lib/zambyte/meta/json.sld
parenta792bd280110e961e9c6b3e78ecd386d637db3dc (diff)
Edit error messages
Diffstat (limited to 'lib/zambyte/meta/json.sld')
-rw-r--r--lib/zambyte/meta/json.sld2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zambyte/meta/json.sld b/lib/zambyte/meta/json.sld
index 448c4ec..a385f66 100644
--- a/lib/zambyte/meta/json.sld
+++ b/lib/zambyte/meta/json.sld
@@ -95,7 +95,7 @@
(let ((json (string->json str)))
(parameterize ((json-key-not-found
(lambda ()
- (error "key not found in json string when converting to a record" 'from-json-string))))
+ (error "key not found in json string when converting to a record" 'type))))
(constructor (json-object-ref json 'fields) ...))))
(handle-field-declarations field-declarations) ...))))