From 33a11464a8e346a08271a3c16be172ccb62af450 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Fri, 17 Feb 2023 15:26:26 -0500 Subject: Edit error messages --- lib/zambyte/meta/json.sld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/zambyte/meta/json.sld') 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) ...)))) -- cgit