Good eye. There is an outstanding design issue which is reviewing the condition/error architecture and trying to clean it up. This is one example of what needs to be done.

I've exported this from the elephant package in the 0.9.1 source tree. The examples have not been revisited for 0.9 so it is a good idea to go in and clean them up for 0.9.1. I've submitted a reminder ticket for that.

Ian

On May 5, 2007, at 6:30 PM, Mac Chan wrote:

I noticed a warning "DB-ERROR is not a valid type" when I compile the
blog-example.

(handler-case
     (with-transaction ()
        (make-instance 'blog-entry
                      :date date
                      :title title
                      :text text))
   (db-error () nil))

It so happens that I still have the old elephant source code (I simply
untar the new code into the same directory)

When I do a grep on all the source I find that in the original
src/sleepycat.lisp it exports a bunch of symbol which includes
#:db-error

Is this symbol supposed to be exported?

Thanks.
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to