X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fmain%2Fbase.lisp;h=871da36596bc4939a5cf924cb1c5df7b839defba;hb=10415e960ac74f2c07f693295b063c586ccc608f;hp=42518ae434797fd906ea329b3eadf571acdf4deb;hpb=60ff10e07aacdca433315c1115cbfed21cc44bfe;p=candle 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: