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

Function getErrorObject

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

Source from the content-addressed store, hash-verified

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

Callers 3

validateFunction · 0.85
readPIFunction · 0.85
validateAttributeStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected