Loading TOC...

MarkLogic Server 11.0 Product Documentation
info:error-detail

info:error-detail(
   $error-id as xs:unsignedLong
) as element(info:error)

Summary

[DEPRECATED] This function returns the error detail associated with the specified error-id.

Parameters
error-id The error id from a ticket.

Example

  xquery version "1.0-ml"; 

  import module namespace info = "http://marklogic.com/appservices/infostudio"  
      at "/MarkLogic/appservices/infostudio/info.xqy";

  for $ticket in info:tickets()
    let $error-id := info:ticket-errors($ticket)//info:error/@id
    return info:error-detail($error-id)

  (: Returns error details for all of the tickets. :)
    

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