Changes

Jump to navigation Jump to search
667 bytes added ,  17:00, 22 November 2017
! width="50%" |Description
|Examples
|- valign="top" scope="row"
|<code>annotation</code>
| Annotation errors.
|<code>%basex:xyz function() { 123 }</code>
|- valign="top" scope="row"
|<code>doc</code>
| The argument specified via fn:doc must yield a single document.
|<code>doc('db-collection')</code>
|- valign="top" scope="row"
|<code>error</code>
| Generic error, which is e. g. raised by [[Java Bindings#Integration|Java bindings]].
|<code>import module namespace qm='java:org.basex.query.func.QueryModuleTest';<br/>qm:error()</code>
|- valign="top" scope="row"
|<code>function</code>
| Function items cannot be cached.
|<code>db:output(true#0)</code>
|- valign="top" scope="row"
|<code>http</code>
| The specified database option is unknown.
|<code>declare option db:xyz 'no'; 1</code>
|- valign="top" scope="row"
|<code>overflow</code>
| Stack overflow.
|<code>declare function local:a() { local:b() + 1 };<br/>declare function local:b() { local:a() + 2 };<br/>local:a()</code>
|- valign="top" scope="row"
|<code>permission</code>
| BaseX-specific update errors.
|<code><a/> update db:output('bla')</code>
|- valign="top" scope="row"
|<code>BASX0000</code>
| Generic error, which is used for exceptions in [[Java Bindings#Integration|Java bindings]].
|
|}
Additional, module-specific error codes are listed in the descriptions of the query modules.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu