IncorrectNumberOfArgumentsError

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

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

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun toDocument(): Document
Link copied to clipboard
override fun toString(): String

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?