Sign In Register

How can we help you today?

Start a new topic

Retrieve error values from AuthenticationResponse in AS3

Is there a way to retrieve error values (UNRECOGNISED, LOCKED) from AuthenticationResponse?

Now I am using response.HasErrors(), but it doesn't give me the values.

AuthenticationResponse WebSocketMessage:



P.S. Second day exploring GS platform. As far as I learnt, GameSparks looks awesome.

Best Answer

Found it:

if ( response.getAttribute("error").DETAILS == "UNRECOGNISED

And this manual posting bit makes for a horrible experience. If the admins don't like the post then remove it, why delay the post in the first place?


Login to post a comment