Hi, 

Can anybody suggest me a good pattern for error handling? 

It seems that a XPCOM component build with C++ can't send exceptions  to 
javascript. It can just return NS_ERROR values (!= NS_OK).

I'm writing a comunication component, and connections can fail by different 
causes. Can I send more information than simple error codes? or have I to 
provide an additional method to get exhaustive error information?

--
Greets
Keymon
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to