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

Creates an assertion error.

Parameters
  • message Description of the failed assertion. ``` error = AssertionError("Expected true but was false") println(error.message) ```