Overview
| Artifact ID: | fa9fedb958fe96debf8dc8e4bed5cd76f939f588 |
|---|---|
| Ticket: | 1041949fffffffffffffffffffffffffffffffff
Standardize, for errors, how Tcl sets the interp's result. |
| User & Date: | nobody on 2007-11-18 05:07:23 |
Changes
- icomment:
Logged In: NO Two suggestions: the name "Tcl_SetResultReturnError" says "how", not "what" -- I'd suggest renaming this to Tcl_ReportError(). Lightning bolt vs. lightning bug and all that. It may be worth considering adding an optional second parameter, that would be used to set $::errorCode if non-NULL. That would encourage more callers to actually set this. int Tcl_ReportError(Tcl_Interp *interp, const char *errorCode, ...);
- login: "[email protected]"
- mimetype: "text/plain"
- username: "[email protected]"