IncorrectNumberOfArgumentsError
class IncorrectNumberOfArgumentsError(method: Located<Name>, expected: Int, actual: Arguments<*>) : CompilationError
Content copied to clipboard
Thrown when a function or a method is given too many or too few arguments.
Parameters
expected
The number of arguments expected by the method.
actual
The arguments that are given to the method.
Constructors
IncorrectNumberOfArgumentsError
Link copied to clipboard
fun IncorrectNumberOfArgumentsError(method: Located<Name>, expected: Int, actual: Arguments<*>)
Content copied to clipboard
Functions
addSuppressed
Link copied to clipboard
fillInStackTrace
Link copied to clipboard
getLocalizedMessage
Link copied to clipboard
getStackTrace
Link copied to clipboard
getSuppressed
Link copied to clipboard
printStackTrace
Link copied to clipboard
setStackTrace
Link copied to clipboard
toDocument
Link copied to clipboard