From b08cca38b7e9fb3c3d3541d7dd51525e8bc65359 Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Tue, 13 Dec 2022 20:33:08 +0300 Subject: [PATCH] more helpful errors --- main.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.xml b/main.xml index 51c0e41..2206c7e 100644 --- a/main.xml +++ b/main.xml @@ -689,6 +689,9 @@ end function addChild(frame, actor) + if not frame or not actor then + error('uranium: frame and actor must both Exist', 2) + end if actorsInitializing then error('uranium: cannot create frame-child associations during actor initialization', 2) end