ValueError
classin packageklyn
public class ValueError extends UncheckedException:
└ ValueError

Exception raised when a value has the correct static type but an invalid runtime value for the requested operation.

Typical examples are negative dimensions, invalid mathematical domains, or an invalid range step.

Example
try:
Application.range(0, 10, 0)
catch exc as ValueError:
println(exc.message)
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public ValueError
ValueError(message as String = "Invalid value"):
Creates a value error.
Inherited Methods
methodInherited Methods from UncheckedException: toString
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml