Thanks Matt,
That's an excellent tutorial you have on your site.
Definitely something I would use for a site-wide error handler.
But for now I'm good with an App-Wide error handler.
Ali
If you use a site-wide error handler, that does not mean you have to have
one error handler for every site.
some advice/best practices in setting up Error Handling for Apps.
I have multiple apps on my server, and I was going to use the Site-Wide
error template in the ColdFusion Administrator. Am I correct in assuming
that I will get the exact same error template for every app on my server?
If so
on here and got some ideas, but just wanted to
validate/invalidate my assumptions before I started down a path.
Basically what I'm looking for is somewhere to just bounce my ideas off of,
and get some advice/best practices in setting up Error Handling for Apps.
I have multiple apps
Thanks Barney,
I forgot to mention that this is for a server running CF5.
I'm testing out CFError by deliberately putting an error in one of my pages by
not closing the CFSET tag
Example: cfset t
But it's still displaying the Coldfusion generated error in plain view. It
does not seem to be
Correct, compile-time errors aren't handled by CFERROR, which is a
runtime construct. The assumption being that you'll never have code
with compiler errors in production. So try cfset dx = lskdjf / or
something, and you should see the CFERROR-defined message, not the raw
CF one.
cheers,
barneyb
Thanks again Barney. That makes sense.
Do you know if the catch-all type of Exception also handles form submission
errors?
Or would I need to include a second CFERROR tag in my application to handle
those?
Thanks for taking the time to answer all my questions by the way.
Cheers,
Ali
original
Do you know if the catch-all type of Exception also handles
form submission errors? Or would I need to include a second
CFERROR tag in my application to handle those?
It depends on what you mean by a form submission error. If someone enters
the wrong datatype within a form field, and you
Dave,
That's basically what I was looking for. Meaning that I wondered what the
VALIDATION attribute really did within CFERROR.
Thank you Dave and Barney for your advice, I have enough to go on now to build
my own site-wide custom error-handling.
Cheers,
Ali
of,
and get some advice/best practices in setting up Error Handling for Apps.
I have multiple apps on my server, and I was going to use the Site-Wide
error template in the ColdFusion Administrator. Am I correct in assuming
that I will get the exact same error template for every app on my
9 matches
Mail list logo