cpf.documentGetError( doc as String ) as Node?
Fetch a trace of the error that caused the document's processing to fail, if any.
Parameters | |
---|---|
doc | The URI of the document. |
const cpf = require('/MarkLogic/cpf/cpf'); cpf.documentGetError('/myDocs/example.xml');