Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: SourceForge.net <noreply@so...> - 2007-09-26 10:32:00
|
Feature Requests item #1802613, was opened at 2007-09-26 06:31 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684733&aid=1802613&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Error Codes Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rick McGuire (bigrixx) Assigned to: Rick McGuire (bigrixx) Summary: Add an invalid argument major message code. Initial Comment: A lot of error checking needs to make the decision between using error 40 for invalid call to routine vs error 93 for invalid call to method. This can be somewhat confusing, as functions are sometimes just passthroughs to methods, messages generally refer to argument position, which can shift when function calls are converted to method calls and the methods perform the argument checks. It would be more convenient if there was a major error code for 'Invalid argument', with subcodes for the different common error conditions for arguments. All references to specific arguments should be by name, not by ordinal position. It's not necessary that existing messages be converted over to these new errors, but it would be a good idea to start adding the new messages so they can be used for new development. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684733&aid=1802613&group_id=119701 |