projects
/
candle
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Formalize errors and error handling
[candle]
/
src
/
main
/
base.lisp
diff --git
a/src/main/base.lisp
b/src/main/base.lisp
index 42518ae434797fd906ea329b3eadf571acdf4deb..871da36596bc4939a5cf924cb1c5df7b839defba 100644
(file)
--- a/
src/main/base.lisp
+++ b/
src/main/base.lisp
@@
-2,6
+2,9
@@
(defvar *candle-dir*)
(defvar *candle-dir*)
+(define-condition candle-error (error) ((reason :initarg :reason :reader candle-error-reason)))
+(defun raise-candle-error (reason) (error (make-instance 'candle-error :reason reason)))
+
(lame-db:defdbstruct project name src)
; Status here is:
(lame-db:defdbstruct project name src)
; Status here is: