Kotlin IllegalArgumentException
Introduction In Kotlin, IllegalArgumentException is a standard exception that is thrown to indicate that a method has been passed an illegal or inappropriate argument. This exception is part of the Kotlin (and Java) standard library and is used to signal that an argument does not meet the requirements of the method.