AssertionError
class in package klyn

    public class AssertionError extends UncheckedException:

Object
└ Exception
└ UncheckedException
└ AssertionError

Exception raised when a low-level `assert` expression or a `klyn.unittest.Assert` helper fails.

Example

    import klyn.unittest

    try:
    Assert.assertTrue(false)
    catch exc as AssertionError:
    println(exc.message)

Inherited Properties
property Inherited Properties from Exception: message
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | AssertionError `AssertionError(message as String = "Assertion failed"):` | Creates an assertion error.

Inherited Methods
method Inherited Methods from UncheckedException: toString
method Inherited Methods from Exception: toString
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml