Yes, using cferror or using the CFadmin function is a global error-catcher.  
cftry/catch has to be put on every request or every .cfm file (if using fusebox, you 
can just put it around a fuse).

After the error is caught, you can lots of things with it (look at the error scope and 
the cfcatch scope).

Chris Norloff

---------- Original Message ----------------------------------
From: "Sarah Skiba" <[EMAIL PROTECTED]>
Date: Thu, 21 Feb 2002 08:27:00 -0600

>Thanks, I'll look into the cftry/cfcatch thing. What I was trying to do was
>make an error handler to pick up when there wasn't one in the directories,
>sort of a last catch thing. Otherwise I'd have to make a custom one for
>every domain/dir on our server and not use a default one right?
>
>Sarah
>----- Original Message -----
>From: "Chris Norloff" <[EMAIL PROTECTED]>
>To: "CF-Server" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Thursday, February 21, 2002 7:57 AM
>Subject: Re: Error Handling
>
>
>| There's only one default, but if you use cferror type=exception you could
>parse through the directory name of the error template, and send the error
>email to different places based on where the tempate is.
>|
>| Or (what I'd do) use cftry/catch to handle errors on a page, inlcuding
>sending alert email anywhere.
>|
>| Chris Norloff
>|
>|
>| ---------- Original Message ----------------------------------
>| from: "Sarah Skiba" <[EMAIL PROTECTED]>
>| Reply-To: [EMAIL PROTECTED]
>| date: Wed, 20 Feb 2002 16:54:17 -0600
>|
>| >Using CF 4.5 Pro, is it possible for me to have a default error template
>| >which emails me, but allow some other directories on the server to use
>their
>| >own application and error templates?
>| >
>| >
>| >Thanks
>| >Sarah
>| >
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to