On Apr 14, 1:59 pm, Scott LaBounty <[email protected]> wrote: > 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.
You will probably get a Sequel::DatabaseError. That's what is raised by Sequel when the adapter raises an error, at least for most adapters. Look at lib/sequel/exceptions.rb and lib/sequel/model/exceptions.rb in the repository for a list of all of Sequel's exception classes. All of them inherit from Sequel::Error. Be aware that Sequel can raise other errors such as ArgumentError in some cases, but it isn't that common. Jeremy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
