MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / PositionErrorFormat

Function PositionErrorFormat

packages/core/ui/builder/index.ts:373–375  ·  view source on GitHub ↗
(e: Error, p: xml.Position)

Source from the content-addressed store, hash-verified

371 }
372
373 export function PositionErrorFormat(e: Error, p: xml.Position): Error {
374 return new ScopeError(e, 'Parsing XML at ' + p.line + ':' + p.column);
375 }
376
377 export function SourceErrorFormat(uri): ErrorFormatter {
378 return (e: Error, p: xml.Position) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected