klyn.AssertionError.AssertionError
constructor
public AssertionError(message as String = "Assertion failed"):
Description

Creates an assertion error.

Parameters
ParameterDescription
messageDescription of the failed assertion.
Example
error = AssertionError("Expected true but was false")
println(error.message)