Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp:get-request-error-format

xdmp:get-request-error-format() as xs: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:get-request-error-format()
=> "json"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.