1
0
Fork 0
arangodb/Documentation/DocuBlocks/actionsResultError.md

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.