> I understand that it is only called when an error is thrown 
> using try/catch.

I don't think that's true, actually. It'll catch ANY error; once it has run,
the error will be reraised and the normal path of error processing will
continue. I don't use it much, myself; I think the point of it is to allow
you to debug errors when you've already put error handling (site-wide error
handler, CFERROR, CFTRY/CFCATCH) in your code.

> I was asking if it works (once called) like other CF 
> templates?

Yes, more or less. Within the error handler, you'll have a set of variables
that come from the error or exception that occurred. You can place any CFML
code you want within the error handler. This is also true for error handlers
invoked with CFERROR TYPE="EXCEPTION". For CFERROR types VALIDATION and
REQUEST, you can only reference the appropriate Error scope, and you can't
have any CFML tags or functions within your code.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to