summaryrefslogtreecommitdiff
path: root/lib/zambyte/meta/json.sld
diff options
context:
space:
mode:
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) ...))))