# XMLHttpRequest Network Error Information

I am trying to update some of my add-ons from XUL/XPCOM to WebExtensions and am having some trouble getting the network error information that I want.

Previously (in XUL/XPCOM) I could use the following: