Lines Matching refs:throwError

1276 function throwError(state, message) {  function
1294 throwError(state, 'duplication of %YAML directive');
1298 throwError(state, 'YAML directive accepts exactly one argument');
1304 throwError(state, 'ill-formed argument of the YAML directive');
1311 throwError(state, 'unacceptable YAML version of the document');
1327 throwError(state, 'TAG directive accepts exactly two arguments');
1334 throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');
1338 throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
1342 throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');
1348 throwError(state, 'tag prefix is malformed: ' + prefix);
1367 throwError(state, 'expected valid JSON character');
1371 throwError(state, 'the stream contains non-printable characters');
1382 throwError(state, 'cannot merge mappings; the provided source object is unacceptable');
1410 throwError(state, 'nested arrays are not supported inside keys');
1448 throwError(state, 'duplicated mapping key');
1481 throwError(state, 'a line break is expected');
1706 throwError(state, 'unexpected end of the document within a single quoted scalar');
1714 throwError(state, 'unexpected end of the stream within a single quoted scalar');
1765 throwError(state, 'expected hexadecimal character');
1774 throwError(state, 'unknown escape sequence');
1785 throwError(state, 'unexpected end of the document within a double quoted scalar');
1793 throwError(state, 'unexpected end of the stream within a double quoted scalar');
1848 throwError(state, 'missed comma between flow collection entries');
1851 throwError(state, "expected the node content, but found ','");
1905 throwError(state, 'unexpected end of the stream within a flow collection');
1940 throwError(state, 'repeat of a chomping mode identifier');
1945throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');
1950 throwError(state, 'repeat of an indentation width identifier');
2073 throwError(state, 'tab characters must not be used in indentation');
2105 throwError(state, 'bad indentation of a sequence entry');
2152 throwError(state, 'tab characters must not be used in indentation');
2180throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-ta…
2211throwError(state, 'a whitespace character is expected after the key-value separator within a block…
2226 throwError(state, 'can not read an implicit mapping pair; a colon is missed');
2235throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key'…
2272 throwError(state, 'bad indentation of a mapping entry');
2311 throwError(state, 'duplication of a tag property');
2339 throwError(state, 'unexpected end of the stream within a verbatim tag');
2349 throwError(state, 'named tag handle cannot contain such characters');
2355 throwError(state, 'tag suffix cannot contain exclamation marks');
2365 throwError(state, 'tag suffix cannot contain flow indicator characters');
2370 throwError(state, 'tag name cannot contain such characters: ' + tagName);
2376 throwError(state, 'tag name is malformed: ' + tagName);
2392 throwError(state, 'undeclared tag handle "' + tagHandle + '"');
2407 throwError(state, 'duplication of an anchor property');
2418 throwError(state, 'name of an anchor node must contain at least one character');
2441 throwError(state, 'name of an alias node must contain at least one character');
2447 throwError(state, 'unidentified alias "' + alias + '"');
2544 throwError(state, 'alias node should not have any properties');
2579throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind…
2611 throwError(state, 'unknown tag !<' + state.tag + '>');
2615throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be "' + type.kin…
2619 throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');
2668 throwError(state, 'directive name must not be less than one character in length');
2712 throwError(state, 'directives end mark is expected');
2735 throwError(state, 'end of the stream or a document separator is expected');
2766 throwError(state, 'null byte is not allowed in input');