]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - src/xtm/package.lisp
perf(tmdm): index association normalization merge candidates
[topic-maps.git] / src / xtm / package.lisp
index f77dabc0e42d5529b618acaf76c64fbcc609e181..c684510b152f8527dcf6a98b1fc5351a535921b4 100644 (file)
@@ -1,7 +1,7 @@
 (defpackage #:topic-maps.xtm
   (:use #:cl)
   (:export #:deserialize-octets
-           #:xtm-error #:xtm-rejection #:xtm-unsupported #:xtm-xml-error
+           #:xtm-error #:xtm-rejection #:xtm-unsupported #:xtm-xml-error #:xtm-resource-error
            #:error-code #:error-detail #:error-document-iri #:error-source-key
            #:error-line #:error-column #:error-cause))
 (in-package #:topic-maps.xtm)
@@ -22,6 +22,9 @@
 (define-condition xtm-xml-error (xtm-error)
   ((cause :initarg :cause :reader error-cause)))
 
+(define-condition xtm-resource-error (xtm-error)
+  ((cause :initarg :cause :initform nil :reader error-cause)))
+
 (defvar *document-iri*)
 (defvar *source-key*)
 (defun reject (code detail &optional node (class 'xtm-rejection))