Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

getting error message - onError undefined - even though onError is handling the error

$
0
0

I'm setting up a new app in CF 10, and have set up my application.cfc. I created a test page that calls onError() manually, as a test. Like the title says, I get a message saying "onError is not defined", but onError() itself is handling this error. I know this because I have it output a string to indicate that it has fired.

 

Also, I'm trying to test onError() by intentionally not closing a tag and calling the page. onError() won't fire here; instead I get the standard ColdFusion error grey box.

 

 

Any help on these is much appreciated.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>