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.

Properties inherited from Exception: message
Properties inherited from Object: type
Constructors

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

Methods inherited from Exception: toString
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml