Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON ERROR Routine Not Catching Errors
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00812855
Message ID:
00813060
Views:
8
No..just a global ON ERROR

>Marshal,
>
>Are you using classes? Do they have any code in their Error() methods? Objects with an overridden Error() method trap their own errors without triggering the ON ERROR handler.
>
>>I've set up a VFP8 application with a global ERROR handler in the typical format of ON ERROR DO ErrHand WITH ERROR(), MESSAGE(), LINENO(1), PROGRAM(), SYS(2018).
>>
>>
>>Has anyone encountered a situation (such as a VFP Bug) when the Error Handler will not catch errors and the default VFP error dialog appears?
>>
>>Please note, I have no overriding error handling code in any Object or TRY..END TRY methods. Also there are no syntax errors in the Error Handler itself.
>>
>>Is it possible to have an Error without the above parameters?
Previous
Reply
Map
View

Click here to load this message in the networking platform