TypeNotFoundException
classin packageklyn.reflection
public class TypeNotFoundException extends Exception:
└ TypeNotFoundException

Exception raised when reflection cannot resolve a requested type name.

TypeLoader.load uses this exception when no Type metadata can be found for the requested name.

import klyn.reflection

try:
TypeLoader().load("missing.Type")
catch error as TypeNotFoundException:
print(error.message)
Properties inherited from Exception: message
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public TypeNotFoundException
TypeNotFoundException(message as String = "Type not found"):
Creates a type-not-found exception.
Methods inherited from Exception: toString
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml