IncorrectNumberOfArgumentsError

fun IncorrectNumberOfArgumentsError(method: Located<Name>, expected: Int, actual: Arguments<*>)

Parameters

expected

The number of arguments expected by the method.

actual

The arguments that are given to the method.