Changes

Jump to navigation Jump to search
577 bytes added ,  10:35, 21 August 2019
no edit summary
|{{Code|status}}
|The supplied status code is invalid.
|}
 
==web:error==
 
{{Mark|Introduced with Version 9.3:}}
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|web:error|$status as xs:integer, $message as xs:string|none}}<br/>
|-
| '''Summary'''
|Raises an error with the QName {{Code|rest:error}}, the specified {{Code|$message}} and the specified {Code|$status}} as error value. See [[RESTXQ#Raise XQuery Errors|Raise XQuery Errors]] for further details).
|-
| '''Examples'''
|
* <code><nowiki>web:eror(404, "The requested resource cannot be found.")</nowiki></code>
|}
=Changelog=
 
;Version 9.3
 
* Added: [[#web:error|web:error]]
;Version 9.2
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu