Exception
classin packageklyn
public class Exception extends Object
└ Exception

Base class for Klyn exceptions. A throws clause documents possible failures; callers may propagate them or handle them with try/catch.

Example
try:
    throw Exception("Cannot continue")
catch error as Exception:
    print(error.message)
Properties
Modifier and Type Member Description
public property message
message as String
No summary.
Inherited Properties
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public Exception
Exception(message as String = "")
Constructor for Exception.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml