Loading TOC...

xdmp.getRequestErrorFormat

xdmp.getRequestErrorFormat() as String

Summary

Returns the current error format for the request. The error format's default value is configured in the App Server. It may be overwritten in the rewriter. The return value is one "xml" , "html" , "json" or "compatible".

Example

xdmp.getRequestErrorFormat();
=> "json"

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy