/tools/echoError
Mount Point: /api/v6/tools/echoError
GET
Throws an error containing the given input message. This is what an error response looks like.
{ "message": "An error message", "causes": [ "A list of causes", "Potentially null" ] }
The message field contains a description of the error. The causes field, if not null, contains a list of causes for the error.
Note that this never returns an echoMessage. Instead, the result (and all error results) has the above structure.
Parameters
name | description | type | default |
---|---|---|---|
message | The error message to echo | query | Default error message |
Response Body
element: | echoMessage |
Will always be an exception