public ValueException(message as String = "Invalid value"):
Creates an exception describing an invalid value.
| Parameter | Description |
|---|---|
message | Description of the invalid value. |
error = ValueException("shape dimensions must be > 0")
println(error.message)