Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: play_edu on May 04, 2016, 06:08:05 AM

Title: Try catch In Playmaker
Post by: play_edu on May 04, 2016, 06:08:05 AM
Hi,

Is There Any  Way To get Any Console Err Display as MSG Box Or Function Like
try catch.

How To Know if there is Any Err coming after build.

Best Wishes,
Play_edu
Title: Re: Try catch In Playmaker
Post by: jeanfabre on May 05, 2016, 02:01:32 AM
Hi,

 Try catch is only something one can build within a single piece of code, it can not be spreaded into actions( One to try, one to catch).

Is it a general question or are you trying to debug something specific?

Bye,

 Jean
Title: Re: Try catch In Playmaker [SOLVED]
Post by: play_edu on May 05, 2016, 02:31:43 AM
Hi,
Thanks For Replay,

I'm using sqlite kit. When SQ Lite Execute search Query There is Three Event send.
1. On Step If I get result,
2.Finish And
3.Err(When i get some Query related Err ) But some Time is there any other Err it's Not Fired any event and stop on Fsm And Do Nothing.
But any Way I Get solution.

Thanks.

Title: Re: Try catch In Playmaker
Post by: jeanfabre on May 05, 2016, 02:42:12 AM
Hi,

 Then the action itself should implement an error checking and fire a PlayMaker event and fill out a FsmString with the error so that you can catch it in your fsm logic.

I would contact the author to see if he can make these mods ( it's trivial)

Let me know if he's not available, I can have a look and edit the action.

Bye,

 Jean
 
Title: Re: Try catch In Playmaker[SOLVED]
Post by: play_edu on May 05, 2016, 04:27:25 AM
Hi,
Thanks Jean.

I Already Done With sqlitekit  And Customize one  script and it's Work.
Thanks For Your Quick Replay.

Best Regards;
Play_edu