Clive, Good list. So in the case below, if I tried to input an item over a unique key, would I get a ... guess I'm not sure which. May be easiest to just try it and see.
Thanks again, Scott On Tue, Apr 14, 2009 at 1:47 PM, Clive Crous <[email protected]> wrote: > > 2009/4/14 Scott LaBounty <[email protected]>: > > Is there a list of all the different errors Sequel can throw? > > There isn't one that I'm aware of, but it's simple enough to generate > one, of the class types at least anyway, details follow: > > clive clive-lite Tue Apr 14 22:43:21 SAST 2009 > /home/clive/repositories/github.com/jeremyevans/sequel/lib master > % egrep -R "raise +([A-Z]\w+)" *|sed > "s/.*raise\s\+\([A-Za-Z_:]\+\).*/\1/"|sort -u > > AdapterNotFound > ArgumentError > BeforeHookFailed > DatabaseError > Error > InvalidOperation > InvalidValue > NotImplementedError > Sequel::Error > Sequel::InvalidValue > ValidationFailed > > > > Hope this helps, > Clive > > > > -- Scott http://steamcode.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
