Returns an error when an operation is not valid within the current context.
This function does not generate a change.
operation_err([message])
Argument | Type | Description |
---|---|---|
message | str (optional) | Alternative error message. |
An error value (in a client response, an error value will be packed as a string value with the error message).
This code shows operation_err():
operation_err();
Return value in JSON format
"operation is not valid in the current context"