Forum ActionScript 3.0 Client Class Handle Error Methods

Problems and discussions relating to ActionScript 3.0 here.

Client Class Handle Error Methods

Postby aseemgarg321 » August 7th, 2016, 2:17 am

Hi,

I could see these methods in Client Class in AS3, Just want to know how to and when to use them..

public handleCallbackError (what:String, e:Error):void
public handleCallbackErrorVerbose (message:String, e:Error):void
public handleSystemError (message:String, e:Error, extra:Object):void

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: Client Class Handle Error Methods

Postby aseemgarg321 » August 9th, 2016, 8:32 pm

Could someone please help me out here?

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: Client Class Handle Error Methods

Postby robscherer123 » August 10th, 2016, 5:21 pm

I can't say for sure, as I've never used these. But by the sounds of it, handleCallbackError would be called whenever you have an error in one of your server-client functions. I believe all of the internal callback functions from PlayerIO are wrapped in a tr{}catch{} statement and whenever the catch{} is called, it most likely calls the handleCallbackError() function.

Again, I may be wrong as I've never used them, but that would be my guess.
robscherer123
Paid Member
 
Posts: 313
Joined: December 12th, 2012, 8:46 pm

Re: Client Class Handle Error Methods

Postby aseemgarg321 » August 10th, 2016, 5:25 pm

Thanks Rob, For at least suggesting a way. Now that i think, this makes sense to me..
A confirmation from Playerio would be appreciated though..

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: Client Class Handle Error Methods

Postby ChristianD » August 12th, 2016, 4:02 am

Hi,

I don't think those methods are supposed to be public. It's probably something left over that wasn't supposed to show up.

What were you trying to accomplish by using them?
Christian
ChristianD
.IO
 
Posts: 63
Joined: May 13th, 2016, 4:44 am

Re: Client Class Handle Error Methods

Postby aseemgarg321 » August 12th, 2016, 4:18 pm

Hey Chris,

Was just trying to figure out all error handling supported by PlayerIO..
Guess, If they were not meant to be public, It kinds of answer that we should be ignoring them..

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am


Return to ActionScript 3.0



cron