cancelled_err

Returns an error when an operation is cancelled before completion. Fox example by a time-out or stop of service.

This function does not generate a change.

Function

cancelled_err([message])

Arguments

Argument Type Description
message str (optional) Alternative error message.

Return value

An error value (in a client response, an error value will be packed as a string value with the error message).

Example

This code shows cancelled_err():

cancelled_err();

Return value in JSON format

 "operation is cancelled before completion"