TypeError
class in package klyn

    public class TypeError extends SyntaxError:

Object
└ Exception
└ SyntaxError
└ TypeError

Exception thrown when a type error is detected.

Fields

Modifier and Type | Member | Description
--- | --- | ---
public | message `message as String` | Human-readable type error message.

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

Modifier and Type | Member | Description
--- | --- | ---
public | TypeError `TypeError(message as String = "Type error"):` | Creates a type error.

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