Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Throw User Error

Author
Message
paulrobson
10
Years of Service
User Offline
Joined: 22nd Nov 2014
Location: Norfolk, England
Posted: 5th Feb 2015 10:52
Hi. Is there anyway of throwing a runtime error in AGK2 ?

If you do Print(1/0) it throws a runtime error (correctly), but is there any way of throwing your own runtime error, or assertion ?
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 5th Feb 2015 11:00
I don't know in Tier 2, but not in Tier 1.

The best you can do is write relevant code to catch a problem in-line and use message() to alert the user.

Quidquid latine dictum sit, altum sonatur

Login to post a reply

Server time is: 2024-11-25 16:34:04
Your offset time is: 2024-11-25 16:34:04