HTML5 (Javascript) Client Reference
Class PlayerIOError
Language: Javascript (HTML5)
Instances of this class are returned in all error callbacks and contain information about the error that occurred.
Example
Here is an example of authenticating and then handling an UnknownGame error:
Properties | ||||
---|---|---|---|---|
|
||||
|
||||
|
||||
Methods | ||||
|
PlayerIOError.code
|
The PlayerIO error code for this error
PlayerIOError.message
|
The error message for this error
PlayerIOError.stack
|
The stack for this error, if any. The type depends on the current browser.
PlayerIOError.toString
|
Get a string representation of error