Ben Hutchings wrote:
If I receive an error that I can't handle, I need to report the
failure somehow before bailing out.  How can I get an error message,
given an nsresult?

In full generality, you don't.

Specific nsresults in specific modules have messages associated with them. See domerr.msg, xpc.msg, etc. Not sure how you can get at that stuff...

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

Reply via email to