mirror of https://gitee.com/bigwinds/arangodb
14 lines
461 B
Markdown
14 lines
461 B
Markdown
|
|
|
|
|
|
*actions.resultError(*req*, *res*, *code*, *errorNum*,
|
|
*errorMessage*, *headers*, *keyvals)*
|
|
|
|
The function generates an error response. The response body is an array
|
|
with an attribute *errorMessage* containing the error message
|
|
*errorMessage*, *error* containing *true*, *code* containing
|
|
*code*, *errorNum* containing *errorNum*, and *errorMessage*
|
|
containing the error message *errorMessage*. *keyvals* are mixed
|
|
into the result.
|
|
|