I implemented something similar to contrib.sql/transaction and
contrib.sql/set-rollback to cause a condition to be raised. The code's
at
https://gist.github.com/760295
Call rollback-with-raise within a transaction body to cause a
condition to be raised with a specific error code. I haven't included
my.util.error/raise-with-message as it does some error text lookup
specific to my app but it's simple to implement.
On Dec 1, 4:07 pm, "John D. Hume" <
duelin.mark...@gmail.com> wrote:
> I don't have any suggestions off-hand, but do let the list know if you see a
> change that could be made to clj-record that would make this cleaner.
>
> -- typed with my thumbs