num_arguments_err

Returns an error when a wrong number of arguments is given.

This function does not generate an event.

Function

num_arguments_err([message])

Arguments

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

Return value

An error value.

Example

This code shows num_arguments_err():

num_arguments_err();

Return value in JSON format

{
    "!": "num_arguments_err()",
    "error_code": -62,
    "error_msg": "wrong number of arguments"
}