Skip to content

Documentation / @sw-file-lib/xml / xml-schema / prependSchemaIssuePath

Function: prependSchemaIssuePath() ​

ts
function prependSchemaIssuePath(error: SchemaError, path: SchemaPath): SchemaError;

Defined in: packages/xml/src/xml-schema/errors.ts:165

Prepends path segments to every issue in a schema error.

Parameters ​

ParameterType
errorSchemaError
pathSchemaPath

Returns ​

SchemaError