Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling Errors in My Business Objects
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00461458
Message ID:
00461499
Views:
17
Chris,

>How should I have my business objects handle error with Mere Mortals. For example, I have a business object that use wwFTP from West Wind to download a file from an FTP server. If oFtp.FTPGetFile() does not work, how should I handle it? Should I get the error (oFtp.cErrorMsg), then:>

>THIS.AddError( oFtp.cErrorMsg )
>THIS.lError = .F.

Sounds like you're on track...did you mean to set "This.lError = .F."?

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform