> Is there a good way to catch when your database is down and
> throw a custom error message?

<cftry>
    <cfquery ...>
    SELECT ...
    </cfquery>
    
    <cfcatch type="Database">
        Show error message or something.
    </cfcatch>
</cftry>


Erki

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to