firat.yuzbasioglu Posted February 17, 2015 Share Posted February 17, 2015 Hi all, Is there mechanism in uniginescript to handling error conditions like throw-catch mechanism in C++? Link to comment
unclebob Posted February 17, 2015 Share Posted February 17, 2015 Hello there, Firat! We have system function called throw (https://developer.unigine.com/en/docs/1.0/scripting/core/system#throw_string) which throws an exception and will stop interpreter execution. The exception will be catched on C++ side and you have no control over it. Link to comment
firat.yuzbasioglu Posted February 17, 2015 Author Share Posted February 17, 2015 Hello Andrey, Thanks for your answer. Link to comment
unclebob Posted February 17, 2015 Share Posted February 17, 2015 I'm happy to help! :) Link to comment
Recommended Posts