klyn.TypeError.TypeError
constructor
public TypeError(message as String = "Type error"):
Description

Creates a type error.

Parameters
  • message The message describing the error. ```klyn err = TypeError() assert err.message == "Type error" ```