Lines Matching refs:Error

205 	if(typeof Uint8Array === 'undefined') throw new Error("Unsupported");
210 if(typeof ArrayBuffer == 'undefined') throw new Error("Unsupported");
212 /*:: if(data instanceof ArrayBuffer) throw new Error("unreachable"); */
559 throw new Error("unsupported value in General format: " + v);
804 throw new Error("unsupported format |" + fmt + "|");
857 /*:: if(!Array.isArray(r)) throw new Error("unreachable"); */
860 /*:: if(!Array.isArray(r)) throw new Error("unreachable"); */
921 throw new Error("unsupported format |" + fmt + "|");
939 if(in_str === true) throw new Error("Format |" + fmt + "| unterminated string ");
993 if(!SSF_isgeneral(fmt, i)) throw new Error('unrecognized character ' + c + ' in ' +fmt);
1062 …if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(c) === -1) throw new Error('unrecognized charac…
1212 if(fmt.length > 4) throw new Error("cannot find right format for |" + fmt.join("|") + "|");
1596 if(file.length < 512) throw new Error("CFB file size " + file.length + " < 512");
1618 default: throw new Error("Major Version: Expected 3 or 4 saw " + mver);
1630 if(mver === 3 && dir_cnt !== 0) throw new Error('# Directory Sectors: Expected 0 saw ' + dir_cnt);
1718 case 0x09: if(mver != 3) throw new Error('Sector Shift: Expected 9 saw ' + shift); break;
1719 case 0x0c: if(mver != 4) throw new Error('Sector Shift: Expected 12 saw ' + shift); break;
1720 default: throw new Error('Sector Shift: Expected 9 or 12 saw ' + shift);
1797 if(cnt !== 0) throw new Error("DIFAT chain shorter than expected");
1820 if(ssz < 4 + jj) throw new Error("FAT boundary crossed: " + j + " 4 "+ssz);
1845 if(ssz < 4 + jj) throw new Error("FAT boundary crossed: " + j + " 4 "+ssz);
1933 if(cfb.FullPaths.length !== cfb.FileIndex.length) throw new Error("inconsistent CFB structure");
2104 /*:: if(file.content == null) throw new Error("unreachable"); */
2116 /*:: if(file.content == null) throw new Error("unreachable"); */
2156 /*:: if(!file.content) throw new Error("unreachable"); */
2171 /*:: if(!file.content) throw new Error("unreachable"); */
2240 …== 'undefined' || !Buffer.isBuffer(o) || !(o instanceof Buffer)) throw new Error("unreachable"); */
2269 else throw new Error("zlib does not expose bytesRead");
2730 else throw new Error(msg);
2794 if(flags & 0x2041) throw new Error("Unsupported ZIP encryption");
2824 default: throw new Error("Unsupported ZIP Compression method " + meth);
3059 default: throw new Error("Unsupported Content-Transfer-Encoding " + cte);
3066 …if(a2s(file.slice(0,13)).toLowerCase() != "mime-version:") throw new Error("Unsupported MAD header…
3087 if(!mboundary) throw new Error("MAD cannot find boundary");
3175 /*:: if(!file) throw new Error("unreachable"); */
3253 default: throw new Error("Unsupported encoding " + enc);
3275 /*:: if(document.body == null) throw new Error("unreachable"); */
3277 /*:: if(document.body == null) throw new Error("unreachable"); */ document.body.removeChild(a);
3290 throw new Error("cannot save file " + fname);
3304 throw new Error("Cannot access file " + path);
3362 if(!m) throw new Error("|" + s + "| is not an ISO8601 Duration");
3369 throw new Error("Unsupported ISO Duration Field: " + m[i].slice(m[i].length-1));
3375 if(!time) throw new Error("Unsupported ISO Duration Field: M");
3545 if(o == null) throw new Error("Cannot find file " + file + " in zip");
3596 throw new Error("Unrecognized type " + o.type);
3704 //default: throw new Error("Invalid xsd:boolean " + value);
3820 if(opts.WTF) throw new Error("unexpected vector length " + matches.length + " != " + h.size);
3848 throw new Error("Unable to serialize " + s);
3856 throw new Error("Bad input format: expected Buffer or string");
4076 /*:: if(typeof val !== 'string') throw new Error("unreachable"); */
4082 /*:: if(typeof val !== "string") throw new Error("unreachable"); */
4096 /*:: if(typeof val !== 'string') throw new Error("unreachable"); */
4098 /*:: if(typeof val !== 'string') throw new Error("unreachable"); */
4104 /*:: if(typeof val !== "string") throw new Error("unreachable"); */
4108 /*:: if(typeof val !== "string") throw new Error("unreachable"); */
4132 if(m !== hexstr) throw new Error(fld + 'Expected ' + hexstr + ' saw ' + m);
4278 function encode_col(col/*:number*/)/*:string*/ { if(col < 0) throw new Error("invalid column " + co…
4325 if(!sname && !(opts && opts.biff <= 5 && opts.biff >= 2)) throw new Error("empty sheet name");
4409 if(!Array.isArray(data[R])) throw new Error("aoa_to_sheet expects an array of arrays");
4598 else throw new Error("unsupported RkNumber " + data); // TODO
4676 /* if(!fValidRGB) throw new Error("invalid"); */
4756 if (m > 0x190) throw new Error("Unsupported Clipboard: " + m.toString(16));
5330 if(ct.xmlns !== XMLNS.CT) throw new Error("Unknown Namespace: " + ct.xmlns);
5506 if(rels['!id'][relobj.Id]) throw new Error("Cannot rewrite rId " + rId);
5522 …if(FEtag.path == '/' && FEtag.type !== CT_ODS) throw new Error("This OpenDocument is not a spreads…
5528 throw new Error("Unsupported ODS Encryption");
5806 } else if(opts.WTF) throw new Error(x);
5962 function parse_VtUnalignedString(blob, t/*:number*/) { if(!t) throw new Error("VtUnalignedString mu…
6040 …==-1 && !((type & 0xFFFE) == 0x101E && (t & 0xFFFE) == 0x101E)) throw new Error('Expected type ' +…
6057 default: throw new Error("TypedPropertyValue unrecognized type " + type + " " + t);
6076 default: throw new Error("TypedPropertyValue unrecognized type " + type + " " + value);
6105 …if(fail) throw new Error("Read Error: Expected address " + Props[i][1] + ' at ' + blob.l + ' :' + …
6135 default: throw new Error("Unsupported CodePage: " + PropH[piddsi.n]);
6163 default: throw new Error("unparsed value: " + blob[blob.l]);
6262 …if(CLSID !== CFB.utils.consts.HEADER_CLSID && CLSID !== clsid) throw new Error("Bad PropertySet CL…
6264 if(NumSets !== 1 && NumSets !== 2) throw new Error("Unrecognized #Sets: " + NumSets);
6267 …if(NumSets === 1 && Offset0 !== blob.l) throw new Error("Length mismatch: " + Offset0 + " !== " + …
6278 if(blob.l !== Offset1) throw new Error("Length mismatch 2: " + blob.l + " !== " + Offset1);
6313 if(target !== blob.l) throw new Error("Slurp error");
6457 if(blob.read_shift(2) != 0xDEAD) throw new Error("Bad FileMoniker");
6461 if(blob.read_shift(2) != 3) throw new Error("Bad FileMoniker");
6472 default: throw new Error("Unsupported Moniker " + clsid);
6494 if(sVer !== 2) throw new Error("Unrecognized streamVersion: " + sVer);
6607 if(cb !== l) throw new Error("Malformed AddinUdf: padding = " + l + " != " + cb);
6702 if(blob.l != tgt) blob.l = tgt; //throw new Error("bad Object Ft-sequence");
6721 default: if(length > 6) throw new Error("Unexpected BIFF Ver " + o.BIFFVer);
6736 default: throw new Error("unsupported BIFF version");
6868 if(header.type != 0x08A3) throw new Error("Invalid Future Record " + header.type);
7054 if(blob.l !== target) throw new Error("MulRK read error");
7056 if(rkrecs.length != lastcol - col + 1) throw new Error("MulRK length mismatch");
7065 if(blob.l !== target) throw new Error("MulBlank read error");
7067 if(ixfes.length != lastcol - col + 1) throw new Error("MulBlank length mismatch");
7150 if(out[0] > 7 || out[1] > 7) throw new Error("Bad Gutters: " + out.join("|"));
7201 if(cch < 0x01 || cch >0xff) throw new Error("Unexpected SupBook type: "+cch);
7223 //else throw new Error("unsupported SupBook cch: " + opts.sbcch);
7263 if(blob.l != target) throw new Error("Bad ExternSheet: " + blob.l + " != " + target);
7405 if(blob.l-s != blob.lens[i]) throw new Error("TxO: bad continue record");
7412 throw new Error("cchText: " + cchText + " != " + texts.length);
7420 // if(cchText2 !== cchText) throw new Error("TxOLastRun mismatch: " + cchText2 + " " + cchText);
7422 // if(s + length != blob.l) throw new Error("TxO " + (s + length) + ", at " + blob.l);
7731 default: throw new Error("DBF Unsupported Version: " + ft.toString(16));
7747 …//if(memo && ((flags & 0x02) === 0)) throw new Error("DBF Flags " + flags.toString(16) + " ft " + …
7794 default: throw new Error('Unknown Field Type: ' + field.type);
7799 if(d.read_shift(1) !== 0x0D) throw new Error("DBF Terminator not found " + d.l + " " + d[d.l]);
7833 default: throw new Error("DBF Unrecognized L:|" + s + "|");
7836 if(!memo) throw new Error("DBF Unexpected MEMO for type " + ft.toString(16));
7856 default: throw new Error("DBF Unsupported data type " + fields[C].type);
7860 …if(ft != 0x02) if(d.l < d.length && d[d.l++] != 0x1A) throw new Error("DBF EOF Marker missing " + …
7892 if(o.type == "string") throw new Error("Cannot write DBF to JS string");
7902 …if(typeof headers[i] !== 'string') throw new Error("DBF Invalid column name " + headers[i] + " |" …
8057 throw new Error("Unrecognized type " + opts.type);
8134 default: if(opts && opts.WTF) throw new Error("SYLK bad record " + rstr);
8144 if(C_seen_E) throw new Error("SYLK shared formula cannot have own formula");
8146 if(!shrbase || !shrbase[1]) throw new Error("SYLK shared formula cannot find base");
8189 default: if(opts && opts.WTF) throw new Error("SYLK bad record " + rstr);
8192 default: if(opts && opts.WTF) throw new Error("SYLK bad record " + rstr);
8293 throw new Error("Unrecognized type " + opts.type);
8309 else if (data !== 'EOD') throw new Error("Unrecognized DIF special command " + data);
8662 default: throw new Error("Unrecognized type " + opts.type);
8752 …if(d.length >= 16 && d[14] == 0x05 && d[15] === 0x6c) throw new Error("Unsupported Works 3 for Mac…
8849 } else throw new Error("Unrecognized LOTUS BOF " + d[2]);
8869 if(o.type == "string") throw new Error("Cannot write WK1 to JS string");
8903 if(o.type == "string") throw new Error("Cannot write WK3 to JS string");
9874 if(y[0].charCodeAt(1) !== 47 && !pass) throw new Error('Unrecognized rich format ' + y[0]);
10038 if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
10099 if(blob.l != end) throw new Error("Bad DataSpaceMapEntry: " + blob.l + " != " + end);
10141 if(blob.read_shift(4) != 0x04) throw new Error("Bad !Primary record");
10159 if(!valid) throw new Error("Encryption Flags/AlgID mismatch");
10188 throw new Error("ECMA-376 Encrypted file unrecognized Version: " + vers.Minor);
10194 if((flags & 0x3F) != 0x24) throw new Error("EncryptionInfo mismatch");
10202 function parse_EncInfoExt(/*::blob, vers*/) { throw new Error("File is password-protected: ECMA-376…
10232 if(vers.Minor != 2) throw new Error('unrecognized minor version code: ' + vers.Minor);
10233 …if(vers.Major > 4 || vers.Major < 2) throw new Error('unrecognized major version code: ' + vers.Ma…
10388 throw new Error("Unrecognized type " + opts.type);
10395 throw new Error("RTF missing table");
10661 if(!pass) throw new Error('unrecognized ' + y[0] + ' in borders');
10727 if(!pass) throw new Error('unrecognized ' + y[0] + ' in fills');
10825 if(!icv) icv = XLSIcv[1]; //throw new Error(x); // note: 206 is valid
10847 if(!pass) throw new Error('unrecognized ' + y[0] + ' in fonts');
10876 default: if(opts.WTF) throw new Error('unrecognized ' + y[0] + ' in numFmts');
10944 if(!pass) throw new Error('unrecognized ' + y[0] + ' in cellXfs');
11283 …(opts.WTF && state[state.length-1] != 0x0025 /* BrtACBegin */)) throw new Error("Unexpected record…
11472 default: if(opts && opts.WTF) throw new Error('Unrecognized ' + y[0] + ' in clrScheme');
11501 if(!(t=data.match(m[1]))) throw new Error(m[0] + ' not found in themeElements');
11517 if(!(t=data.match(themeltregex))) throw new Error('themeElements not found in theme');
11748 default: throw new Error("Unrecognized ExtProp type: " + extType + " " + cb);
11867 throw new Error("Unexpected record 0x" + RT.toString(16));
11970 throw new Error("unrecognized " + y[0] + " in metadata");
12026 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
12079 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
12309 default: if(!pass && opts.WTF) throw new Error('unrecognized ' + y[0] + ' in threaded comments');
12361 default: if(!pass && opts.WTF) throw new Error('unrecognized ' + y[0] + ' in threaded comments');
12442 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
12861 default: throw new Error("Bad SerAr: " + val[0]); /* Unreachable */
13200 //if(target !== blob.l && blob.l !== target - length) throw new Error(target + " != " + blob.l);
13342 if(opts.WTF) throw new Error("Unexpected PtgAttrSpaceType " + formula[0][last_sp][1][0]);
13487 if(opts.WTF) throw new Error("Unexpected PtgAttrSpaceType " + formula[0][last_sp][1][0]);
13576 throw new Error("Unsupported ELFs");
13579 throw new Error('Unrecognized Formula Token: ' + String(f));
13580 default: throw new Error('Unrecognized Formula Token: ' + String(f));
13601 if(opts.WTF) throw new Error("Unexpected PtgAttrSpaceType " + f[1][0]);
13607 if(stack.length > 1 && opts.WTF) throw new Error("bad formula stack");
15238 …if(range.e.c < range.s.c || range.e.r < range.s.r) throw new Error("Bad range (" + i + "): " + ws[…
15530 if(cell.v.length > 32767) throw new Error("Text length must not exceed 32767 characters");
15792 if(opts.WTF) throw new Error("Range " + ref + " exceeds format limit A1:XFD1048576");
16679 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
16885 …if(opts.WTF) throw new Error("Range " + (ws['!ref'] || "A1") + " exceeds format limit A1:XFD104857…
17055 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
17198 if(n.length > 31) { if(safe) return false; throw new Error("Sheet names cannot exceed 31 chars"); }
17202 if(!safe) throw new Error("Sheet name cannot contain : \\ / ? * [ ]");
17210 for(var j = 0; j < i; ++j) if(n == N[j]) throw new Error("Duplicate Sheet Name: " + n);
17213 if(cn.charCodeAt(0) == 95 && cn.length > 22) throw new Error("Bad Code Name: Worksheet" + cn);
17218 if(!wb || !wb.SheetNames || !wb.Sheets) throw new Error("Invalid Workbook");
17219 if(!wb.SheetNames.length) throw new Error("Workbook is empty");
17239 if(!data) throw new Error("Could not find file");
17385 default: if(!pass && opts.WTF) throw new Error('unrecognized ' + y[0] + ' in workbook');
17389 if(XMLNS_main.indexOf(wb.xmlns) === -1) throw new Error("Unknown Namespace: " + wb.xmlns);
17697 …Begin */ && state[state.length-1] != 0x0023 /* BrtFRTBegin */)) throw new Error("Unexpected record…
17949 default: throw new Error("bad custprop:" + cp[0]);
18019 case 'Error': cell.t = 'e'; cell.v = RBErr[xml]; if(o.cellText !== false) cell.w = xml; break;
18122 if(Rn[1]==='/'){if((tmp=state.pop())[0]!==Rn[3]) throw new Error("Bad state: "+tmp.join("|"));}
18196 if((tmp=state.pop())[0]!==Rn[3]) throw new Error("Bad state: "+tmp.join("|"));
18225 if(Rn[1]==='/'){if((tmp=state.pop())[0]!==Rn[3]) throw new Error("Bad state: "+tmp.join("|"));}
18326 if(Rn[1]==='/'){if((tmp=state.pop())[0]!==Rn[3]) throw new Error("Bad state: "+tmp.join("|"));}
18332 if((tmp=state.pop())[0]!==Rn[3]) throw new Error("Bad state: "+tmp.join("|"));
18343 if(Rn[1]==='/'){if((tmp=state.pop())[0]!==Rn[3]) throw new Error("Bad state: "+tmp.join("|"));}
18355 if((tmp=state.pop())[0]!==Rn[3]) throw new Error("Bad state: "+tmp.join("|"));
18381 if(Rn[1]==='/'){if((tmp=state.pop())[0]!==Rn[3]) throw new Error("Bad state: "+tmp.join("|"));}
18465 case 'error' /*case 'Error'*/: break;
18825 /*:: throw new Error("unsupported type " + opts.type); */
18860 /*:: if(!wb || !wb.Workbook || !wb.Workbook.Names) throw new Error("unreachable"); */
18874 /*:: if(!wb || !wb.Workbook || !wb.Workbook.Names) throw new Error("unreachable"); */
19033 case 'e': t = 'Error'; p = BErr[cell.v]; break;
19359 …if(!opts.enc && rt !== RecordType && (((rt&0xFF)<<8)|(rt>>8)) !== RecordType) throw new Error("rt …
19378 if(!options.password) throw new Error("File is password-protected");
19379 if(val.valid == null) throw new Error("Encryption scheme unsupported");
19380 if(!val.valid) throw new Error("Password is incorrect");
19569 } else throw new Error("String record expects Formula");
19810 if(CFB.find(cfb, '/encryption')) throw new Error("File is password-protected");
19836 …else if((_data=CFB.find(cfb, 'MN0')) && _data.content) throw new Error("Unsupported Works 4 for Ma…
19837 else throw new Error("Cannot find Workbook stream");
19862 default: throw new Error("invalid type " + o.bookType + " for XLS CFB");
21284 …if(opts.WTF) throw new Error("Range " + (ws['!ref'] || "A1") + " exceeds format limit A1:IV16384");
21309 …if(idx == 0 && !!o.sheet && wb.SheetNames[0] != o.sheet) throw new Error("Sheet not found: " + o.s…
21419 …if(opts.WTF) throw new Error("Range " + (ws['!ref'] || "A1") + " exceeds format limit A1:IV16384");
21554 if(blen != b.length) throw new Error("BS8 " + blen + " != " + b.length);
21606 throw new Error("invalid type " + o.bookType + " for BIFF");
21615 if(!mtch) throw new Error("Invalid HTML: could not find <table>");
21706 if(!mtch || mtch.length == 0) throw new Error("Invalid HTML: could not find <table>");
22240 } else throw new Error('Unsupported value type ' + q.t);
22602 default: if(opts.WTF) throw new Error(Rn);
22620 if(!content) throw new Error("Missing content.xml in ODS / UOF file");
23355 … throw new Error("PB Type ".concat(type, " for Field ").concat(num, " at offset ").concat(off));
23439 throw new Error("Unexpected Snappy chunk type ".concat(type));
23482 throw new Error("Invalid offset 0");
23492 throw new Error("Invalid offset beyond length");
23517 throw new Error("Unexpected length: ".concat(chunks.reduce(function(acc, u8) {
23535 throw new Error("data is not a valid framed stream!");
23754 throw new Error("Unsupported cell type ".concat(buf[subarray](0, 4)));
23758 throw new Error("Unsupported cell type ".concat(buf[subarray](0, 4)));
23822 …throw new Error("Unsupported cell type ".concat(buf[1], " : ").concat(fields & 31, " : ").concat(b…
23911 throw new Error("Unsupported payload version ".concat(buf[0]));
23961 throw new Error("2000 unexpected reference to ".concat(mtype));
24029 throw new Error("Duplicate cell r=".concat(x.R, " c=").concat(C));
24042 throw new Error("Invalid row varint ".concat(pb[6][0].data));
24045 throw new Error("Invalid col varint ".concat(pb[7][0].data));
24065 throw new Error("6001 unexpected reference to ".concat(mtype2));
24088 throw new Error("Expected merge type 6144, found ".concat(mtype));
24113 throw new Error("6000 unexpected reference to ".concat(mtype));
24139 throw new Error("Keynote presentations are not supported");
24153 throw new Error("Empty NUMBERS file");
24162 throw new Error("Unsupported password protection");
24187 throw new Error("File has no messages");
24189 throw new Error("Pages documents are not supported");
24199 throw new Error("Document has multiple roots");
24204 throw new Error("Cannot find Document root");
24268 throw new Error("Unsupported value " + data[C]);
24306 throw new Error("Too many messages");
24353 throw new Error("Must pass a `numbers` option -- check the README");
24361 throw new Error("Template NUMBERS file must have exactly one sheet");
25102 default: throw new Error("Unrecognized sheet type " + stype);
25138 …if(typeof Uint8Array == "undefined") throw new Error('NUMBERS file parsing requires Uint8Array sup…
25145 throw new Error('Unsupported NUMBERS file');
25148 if(safegetzipfile(zip, 'index.xml.gz')) throw new Error('Unsupported NUMBERS 08 file');
25149 if(safegetzipfile(zip, 'index.xml')) throw new Error('Unsupported NUMBERS 09 file');
25159 throw new Error('Unsupported ZIP file');
25172 if(!getzipdata(zip,binname,true)) throw new Error("Could not find workbook");
25331 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25336 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25339 throw new Error("ECMA-376 Encrypted file bad " + f);
25343 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25346 throw new Error("ECMA-376 Encrypted file bad " + f);
25350 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25355 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25360 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25368 throw new Error("File is password-protected");
25668 default: throw new Error("Unrecognized type " + (o && o.type || "undefined"));
25703 default: throw new Error("Unrecognized type " + o.type);
25751 …if(n[1] === 0x49 && n[2] === 0x2a && n[3] === 0x00) throw new Error("TIFF Image File is not a spre…
25770 …case 0x89: if(n[1] === 0x50 && n[2] === 0x4E && n[3] === 0x47) throw new Error("PNG Image File is …
25771 case 0x08: if(n[1] === 0xE7) throw new Error("Unsupported Multiplan 1.x file!"); break;
25773 if(n[1] === 0xEC) throw new Error("Unsupported Multiplan 2.x file!");
25774 if(n[1] === 0xED) throw new Error("Unsupported Multiplan 3.x file!");
25790 case "string": throw new Error("'string' output type invalid for '" + o.bookType + "' files");
25791 default: throw new Error("Unrecognized type " + o.type);
25824 case "string": throw new Error("'string' output type invalid for '" + o.bookType + "' files");
25827 default: throw new Error("Unrecognized type " + o.type);
25863 throw new Error("Unrecognized type " + opts.type);
25877 throw new Error("Unrecognized type " + opts.type);
25892 default: throw new Error("Unrecognized type " + opts.type);
25915 if(!wb.SheetNames[idx]) throw new Error("Sheet not found: " + o.sheet + " : " + (typeof o.sheet));
25947 default: throw new Error ("Unrecognized bookType |" + o.bookType + "|");
26015 default: throw new Error('unrecognized type ' + val.t);
26272 throw new Error("Cannot find sheet # " + sh);
26276 throw new Error("Cannot find sheet name |" + sh + "|");
26277 } else throw new Error("Cannot find sheet |" + sh + "|");
26289 if(!name || wb.SheetNames.length >= 0xFFFF) throw new Error("Too many worksheets");
26297 …if(wb.SheetNames.indexOf(name) >= 0) throw new Error("Worksheet with name |" + name + "| already e…
26315 default: throw new Error("Bad sheet visibility setting " + vis);