aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/formats/common/types.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/vcomponent/formats/common/types.scm')
-rw-r--r--module/vcomponent/formats/common/types.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/vcomponent/formats/common/types.scm b/module/vcomponent/formats/common/types.scm
index 9768cf70..9e18f1eb 100644
--- a/module/vcomponent/formats/common/types.scm
+++ b/module/vcomponent/formats/common/types.scm
@@ -137,4 +137,5 @@
(define-public (get-parser type)
(or (hashq-ref type-parsers type #f)
- (error (_ "No parser for type") type)))
+ (scm-error 'misc-error "get-parser" (_ "No parser for type ~a")
+ (list type) #f)))