Re: Error Handling for Apps

2005-08-11 Thread Ali Awan
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.

Error Handling for Apps

2005-08-10 Thread Ali Awan
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

Re: Error Handling for Apps

2005-08-10 Thread Barney Boisvert
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

Re: Error Handling for Apps

2005-08-10 Thread Ali Awan
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

Re: Error Handling for Apps

2005-08-10 Thread Barney Boisvert
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

Re: Error Handling for Apps

2005-08-10 Thread Ali Awan
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

RE: Error Handling for Apps

2005-08-10 Thread Dave Watts
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

Re: Error Handling for Apps

2005-08-10 Thread Ali Awan
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

Re: Error Handling for Apps

2005-08-10 Thread Matt Robertson
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