On Mon, Aug 25, 2008 at 11:15:18AM +0200, Tobias Kremer wrote:
> > Doesn't storage go via $self->throw_exception ? If so you could put the
> > parsing in there.
> 
> You mean overriding throw_exception in the storage-specific subclasses? Sounds
> good to me. Would you return a normalized string or rather some sort of
> exception object?

Mm. I think an object that stringifies to a normalized string, in case the
user has a throw_exception further down that's expecting a string.

Thoughts, anybody?

*wonders if we should start a new thread here*

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to