(2 secs) Instead, you want to wrap the underlying exception classes in your own exception classes.
In this case, no matter what backend you are using, if that backend raises an exception, Sequel raises a Sequel::DatabaseError.