[Project_owners] error codes

Eric H. Jung grimholtz at yahoo.com
Sun Nov 27 09:41:42 EST 2005


I'm writing some upload code with nsIUploadChannel; e.g.,

  var channel = ioService.newChannelFromURI(url).

Does anyone know how to get a text message for the numeric error codes
in channel.status? This post:


says the codes are defined in nsError.h, but doesn't discuss a way to
convert them to text. For example, in Win32/COM programming, we can use
::FormatMessage() to get a text description of an error.

Thanks for any help,
Eric Jung

Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 

More information about the Project_owners mailing list