Subject: | Ability to specify a callback for errors |
Hi, we've been building a rather large application around Mojo and
Rose::DB. I've come to the conclusion that I'd really love to be able to
get Rose::DB::Object to throw an APP::Exception when there's an error
rather than carping, croaking or otherwise dying.
Would love to see Rose::DB::Object::Metadata->error_mode accept a coderef
that I could use to define the exception.