class openfl.errors.TypeError extends Error