MCPcopy Create free account
hub / github.com/NaturalIntelligence/fast-xml-parser / getErrorObject

Function getErrorObject

src/validator.js:483–492  ·  view source on GitHub ↗
(code, message, lineNumber)

Source from the content-addressed store, hash-verified

481}
482
483function getErrorObject(code, message, lineNumber) {
484 return {
485 err: {
486 code: code,
487 msg: message,
488 line: lineNumber.line || lineNumber,
489 col: lineNumber.col,
490 },
491 };
492}
493
494function validateAttrName(attrName) {
495 return isName(attrName);

Callers 3

validateFunction · 0.85
readPIFunction · 0.85
validateAttributeStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected