add: if (isNaN(rc)) throw Components.results.NS_ERROR_INVALID_ARG; 
context: function wcapErrorToString( rc ){    if (rc == Components.interfaces.calIWcapErrors.WCAP_NO_ERRNO)        return "No WCAP errno (missing X-NSCP-WCAP-ERRNO).";        var index = (rc - Components.interfaces.calIWcapErrors.WCAP_ERROR_BASE + 1);    if (index >= 1 && index <= 108 &&        g_wcapErrorCodes[index * 2] != Components.results.NS_ERROR_INVALID_ARG)    {        return g_wcapErrorCodes[(index * 2) + 1];    }    throw Components.results.NS_ERROR_INVALID_ARG;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7c0c21e19869e3198e0cbbabbeb306fa60cd3ebb/calWcapErrors.js/buggy/calendar/providers/wcap/calWcapErrors.js