asclass DynTestModule > DynPrintLog { transient bool running; bool ok; PersistableThrowable error; // override me! void test {} start-thread { running = true; try { test(); setFields(ok := true, error := null); printWithNewLineBefore("Successss"); applause(); } catch print e { infoBox(exceptionToStringShort(e)); setFields(ok := false, error := toPersistableThrowable(e)); } finally { running = false; } } }