Returns an error when an attempt is made to divide or take a modulo by zero.
This function does not generate a change.
zero_div_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 zero_div_err():
zero_div_err();
Return value in JSON format
"division or modulo by zero"