James Newell wrote:
I threw just a string. I'm guessing that i'm supposed to throw some specific
error.

Yes, you are. Depending on what sort of error you're reporting, of course. See nsDocShell::DisplayLoadError for the list of errors we know how to report.

You probably want NS_ERROR_FILE_NOT_FOUND which I believe is 0x80520012.

-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to