
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');
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.