MarkLogic 10 Product Documentation
cpf.documentGetError

cpf.documentGetError(
   doc as String
) as Node?

Summary

Fetch a trace of the error that caused the document's processing to fail, if any.

Parameters
doc The URI of the document.

Example

const cpf = require('/MarkLogic/cpf/cpf');

cpf.documentGetError('/myDocs/example.xml');
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy