Skip to content

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

Function: prependSchemaSerializeIssuePath() ​

ts
function prependSchemaSerializeIssuePath(error: SchemaSerializeError, path: SchemaPath): SchemaSerializeError;

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

Prepends path segments to every issue in a schema serialization error.

Parameters ​

ParameterType
errorSchemaSerializeError
pathSchemaPath

Returns ​

SchemaSerializeError