Closed Bug 338614 Opened 19 years ago Closed 12 years ago

Add EXTENSIONS error module to nsError.h

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: WeirdAl, Unassigned)

References

()

Details

I as an extension would like to begin defining error messages for the console specific to my extension. (In this case, the extension is XPath Generator, bug 319768.) To do this, I'd need to reserve a spot under nsError.h for either my own extension (which is unreasonable) or for all extensions living in the mozilla.org tree. I'm proposing we define a module for nsError.h, and host the error definitions and messages at extensions/extensions-errors.h.
In addition, it would probably be wise for a wiki page to exist at http://wiki.mozilla.org/XPCOM:Extensions_Errors where extensions could reserve smaller blocks of error messages.
I don't think this is especially useful nowadays. Less XPCOM is better xpcom.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.