X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=candle;a=blobdiff_plain;f=src%2Fmain%2Fbase.lisp;h=871da36596bc4939a5cf924cb1c5df7b839defba;hp=42518ae434797fd906ea329b3eadf571acdf4deb;hb=10415e960ac74f2c07f693295b063c586ccc608f;hpb=92a8cc8928e1f5d6aa13708b35cb4551aa736a37 diff --git a/src/main/base.lisp b/src/main/base.lisp index 42518ae..871da36 100644 --- a/src/main/base.lisp +++ b/src/main/base.lisp @@ -2,6 +2,9 @@ (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: