info:error-detail( $error-id as xs:unsignedLong ) as element(info:error)
[DEPRECATED]
This function returns the error detail associated with the specified
error-id
.
Parameters | |
---|---|
error-id | The error id from a ticket. |
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. :)