Closed Bug 1095376 Opened 10 years ago Closed 8 years ago

No explanation for nsresult, error status associated with the request, nsIRequest

Categories

(Developer Documentation Graveyard :: General, defect, P5)

All
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: me, Unassigned)

References

()

Details

:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: Trunk
 Technical Contact: 

:: Details

Was trying to understand how nsIRequestObserver works and understanding its onStopRequest method. But couldnt find list of error codes for nsresult status object.
Documentation links to this page, https://developer.mozilla.org/en/nsresult but it is non-existant
There is this very old error code list page; it is in the wrong place and probably needs updating:

https://developer.mozilla.org/en-US/docs/Table_Of_Errors

I've moved this page to where it belongs:

https://developer.mozilla.org/en-US/docs/Mozilla/Errors

I've also updated the nsresult page to have more obvious linkage over to the error number page, as well as some other tweaks: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Core_functions/nsresult

The "Errors" page needs to be reviewed and updated with newer errors.

Where did you find a link to https://developer.mozilla.org/en/nsresult? That page needs to be fixed, since that link is very wrong.
I've corrected the following two pages, which were the two pages referencing invalid URLs for nsresult:

https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIException
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/NsIRequest

I also filed bug 1247348 for updating the XPCOM error/result code list at https://developer.mozilla.org/en-US/docs/Mozilla/Errors.

Closing this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.