rem: return g_wcapErrorCodes[getWcapErrorIndex(errno) * 2]; 
add: var index = -1; if (errno >= -1 && errno <= 81) index = (errno + 1); else if (errno >= 11000 && errno <= 11008) index = (errno - 11000 + 100 + 1); if (index >= 0 && g_wcapErrorCodes[index * 2] != Components.results.NS_ERROR_INVALID_ARG) { return g_wcapErrorCodes[index * 2]; } throw Components.results.NS_ERROR_INVALID_ARG; 
context: function getWcapErrorCode( errno ){    return g_wcapErrorCodes[getWcapErrorIndex(errno) * 2];}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/318a30b964defb311d9cf0464a3354a583a7e8f0/calWcapErrors.js/clean/calendar/providers/wcap/calWcapErrors.js