EDatabaseError Exception Handling

Is there any way to differentiate between different types of DatabaseErrors
other than by the text of the message?  I'd like to handle different database
errors different ways and I'd like some definite way for my exception
handling code to know which problem it's dealing with.  Seems like there
should be an error-id property of the exception object. Thanks in advance.

  - Tom Fredericks
    Veterinary Computing Services
    Cornell University