kgp.tree / ArityException

ArityException

class ArityException : Exception

Exception given when the number of arguments given to a function does not match its arity.

Parameters

message - A message describing what went wrong.

Constructors

<init> ArityException(message: String)

Exception given when the number of arguments given to a function does not match its arity.