A RESTful browser for eXist Java-Based Function Modules


http://www.w3.org/2005/xpath-functions
A module with the XQuery/XPath Core Library Functions

error($qname as xs:QName) empty()
Indicates that an irrecoverable error has occurred. The script will terminate immediately with an exception using $qname and the default message, 'An error has been raised by the query'.
$qnameThe qname

error($qname as xs:QName?, $message as xs:string) empty()
Indicates that an irrecoverable error has occurred. The script will terminate immediately with an exception using $qname and $message.
$qnameThe qname
$messageThe message

error($qname as xs:QName?, $message as xs:string, $error-object as item()*) empty()
Indicates that an irrecoverable error has occurred. The script will terminate immediately with an exception using $qname and $message with $error-object appended.
$qnameThe qname
$messageThe message
$error-objectThe error object

error() empty()
Indicates that an irrecoverable error has occurred. The script will terminate immediately with an exception using the default qname, 'http://www.w3.org/2004/07/xqt-errors#err:FOER0000', and the default error message, 'An error has been raised by the query'.
Return to list of all modules