summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tissue/conditions.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/tissue/conditions.scm b/tissue/conditions.scm
index b2ae543..e09e8b8 100644
--- a/tissue/conditions.scm
+++ b/tissue/conditions.scm
@@ -20,8 +20,15 @@
   #:use-module (rnrs conditions)
   #:export (issue-file-not-found-error
             issue-file-not-found-error?
-            issue-file-not-found-error-issue-file))
+            issue-file-not-found-error-issue-file
+            unknown-document-type-violation
+            unknown-document-type-violation?
+            unknown-document-type-violation-document))
 
 (define-condition-type &issue-file-not-found-error &error
   issue-file-not-found-error issue-file-not-found-error?
   (issue-file issue-file-not-found-error-issue-file))
+
+(define-condition-type &unknown-document-type-violation &violation
+  unknown-document-type-violation unknown-document-type-violation?
+  (document unknown-document-type-violation-document))