PlayerIO

The fastest way to build online games without breaking a sweat.

ActionScript3 Reference

actionscript 3 PlayerIOError class informationClass PlayerIOError

Namespace: playerio
Language: ActionScript 3

Error object for most PlayerIO related errors This class is auto generated

Properties

 
public
type :playerio:PlayerIOError [read-only]

The type of error the PlayerIOError object represent

Methods

 
public
PlayerIOError (message:String, id:int):void

Create a new PlayerIOError object. Errors initialized outside the api will have the type GeneralError

Constants

 
public static const
AccessDenied :playerio:PlayerIOError

PlayerIOError type if access is denied

public static const
AchievementsNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access achievements before Refresh() has been called.

public static const
AdTrackCheckCookie :playerio:PlayerIOError

PlayerIOError type if check cookie required.

public static const
ArgumentOutOfRange :playerio:PlayerIOError

PlayerIOError type if the given argument value is outside the range of allowed values.

public static const
BigDBObjectDoesNotExist :playerio:PlayerIOError

PlayerIOError type if could not locate the database object.

public static const
BigDBObjectTooLarge :playerio:PlayerIOError

PlayerIOError type if the object exceeds the maximum allowed size for BigDB objects.

public static const
BuyingCoinsNotSupportedByProvider :playerio:PlayerIOError

PlayerIOError type if the specified PayVault provider does not support buying coins

public static const
CircularReference :playerio:PlayerIOError

PlayerIOError type if cannot create circular references inside database objects

public static const
DialogClosed :playerio:PlayerIOError

PlayerIOError type if the dialog was closed by the user

public static const
DirectPurchaseNotSupportedByProvider :playerio:PlayerIOError

PlayerIOError type if the specified PayVault provider does not support direct purchase

public static const
ExternalError :playerio:PlayerIOError

PlayerIOError type if an error occurred while contacting an external service

public static const
GameDisabled :playerio:PlayerIOError

PlayerIOError type if the game has been disabled, most likely because of missing payment.

public static const
GameRequestsNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access requests before Refresh() has been called.

public static const
GameRequired :playerio:PlayerIOError

PlayerIOError type if a game is required to do this action

public static const
GeneralError :playerio:PlayerIOError

PlayerIOError type if a general error occurred

public static const
HeartbeatFailed :playerio:PlayerIOError

PlayerIOError type if the server could not complete the heartbeat

public static const
IndexOutOfBounds :playerio:PlayerIOError

PlayerIOError type if the index was out of bounds from the range of acceptable values

public static const
InternalError :playerio:PlayerIOError

PlayerIOError type if an unexpected error occurred inside the Player.IO webservice. Please try again.

public static const
InvalidArgument :playerio:PlayerIOError

PlayerIOError type if the given argument did not have the expected value

public static const
InvalidAuth :playerio:PlayerIOError

PlayerIOError type if the auth given is invalid or malformatted

public static const
InvalidBigDBKey :playerio:PlayerIOError

PlayerIOError type if the key given for the BigDB object is not a valid BigDB key. Keys must be between 1 and 50 characters. Only letters, numbers, hyphens, underbars, and spaces are allowed.

public static const
InvalidGameCode :playerio:PlayerIOError

PlayerIOError type if the game code is invalid

public static const
InvalidIdentifier :playerio:PlayerIOError

PlayerIOError type if the given identifier does not match the expected format

public static const
InvalidIndexValue :playerio:PlayerIOError

PlayerIOError type if the value given for the index, does not match the expected type.

public static const
InvalidMessageFormat :playerio:PlayerIOError

PlayerIOError type if the message is malformatted

public static const
InvalidNotificationsEndpoint :playerio:PlayerIOError

PlayerIOError type if the given notifications endpoint is invalid

public static const
InvalidPassword :playerio:PlayerIOError

PlayerIOError type if the password supplied is incorrect

public static const
InvalidPayVaultProviderSetup :playerio:PlayerIOError

PlayerIOError type if the chosen provider is not configured correctly in the admin panel

public static const
InvalidPurchaseArguments :playerio:PlayerIOError

PlayerIOError type if the chosen provider rejected one or more of the purchase arguments

public static const
InvalidRegistrationData :playerio:PlayerIOError

PlayerIOError type if the supplied data is incorrect

public static const
InvalidSegment :playerio:PlayerIOError

PlayerIOError type if the given segment was invalid.

public static const
InvalidType :playerio:PlayerIOError

PlayerIOError type if the given type was invalid

public static const
ItemNotInVault :playerio:PlayerIOError

PlayerIOError type if the item does not exist in the vault.

public static const
KeyAlreadyUsed :playerio:PlayerIOError

PlayerIOError type if the key is in use by another database object

public static const
LoggedOut :playerio:PlayerIOError

PlayerIOError type if this client has been logged out

public static const
MissingRoomId :playerio:PlayerIOError

PlayerIOError type if you can't join the room when the RoomID is null or the empty string

public static const
MissingValue :playerio:PlayerIOError

PlayerIOError type if a value is missing

public static const
NetworkIssue :playerio:PlayerIOError

PlayerIOError type if there is an issue with the network

public static const
NoServersAvailable :playerio:PlayerIOError

PlayerIOError type if there is no server in any of the selected server clusters for the game that are eligible to start a new room in (they're all at full capacity or there are no servers in any of the clusters). Either change the selected clusters for your game in the admin panel, try again later or start some more servers for one of your clusters.

public static const
NotASearchColumn :playerio:PlayerIOError

PlayerIOError type if the key you specified is not set as searchable. You can change the searchable keys in the admin panel for the server type

public static const
NotEnoughCoins :playerio:PlayerIOError

PlayerIOError type if the user does not have enough coins in the PayVault to complete the purchase or debit.

public static const
NotificationsNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access notification endpoints before Refresh() has been called.

public static const
NotObjectCreator :playerio:PlayerIOError

PlayerIOError type if the operation was aborted because the user attempting the operation was not the original creator of the object accessed.

public static const
OneScoreNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access OneScore before Refresh() has been called.

public static const
PublishingNetworkNotAvailable :playerio:PlayerIOError

PlayerIOError type if the Publishing Network features are only avaliable when authenticated to PlayerIO using Publishing Network authentication. Authentication methods are managed in the connections setting of your game in the admin panel on PlayerIO.

public static const
PublishingNetworkNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access profile, friends, ignored before Publishing Network has been loaded. Please refresh Publishing Network first.

public static const
QuickConnectMethodNotEnabled :playerio:PlayerIOError

PlayerIOError type if the QuickConnect method (simple, facebook, kongregate...) is not enabled for the game. You can enable the various methods in the admin panel for the game

public static const
RoomAlreadyExists :playerio:PlayerIOError

PlayerIOError type if you are unable to create room because there is already a room with the specified id

public static const
RoomDataTooLarge :playerio:PlayerIOError

PlayerIOError type if the room data for the room was over the allowed size limit

public static const
RoomIsFull :playerio:PlayerIOError

PlayerIOError type if the room already has the maxmium amount of users in it.

public static const
StaleVersion :playerio:PlayerIOError

PlayerIOError type if bigDB object could not be saved using optimistic locks as it's out of date.

public static const
UnknownAchievement :playerio:PlayerIOError

PlayerIOError type if cannot find the achievement with the specified id.

public static const
UnknownConnection :playerio:PlayerIOError

PlayerIOError type if the connection requested is not known by the server

public static const
UnknownGame :playerio:PlayerIOError

PlayerIOError type if the game requested is not known by the server

public static const
UnknownIndex :playerio:PlayerIOError

PlayerIOError type if the specified index does not exist.

public static const
UnknownPartnerPayAction :playerio:PlayerIOError

PlayerIOError type if unable to locate the custom PartnerPay action with the given key

public static const
UnknownPayVaultProvider :playerio:PlayerIOError

PlayerIOError type if there is no PayVault provider with the specified id

public static const
UnknownRoom :playerio:PlayerIOError

PlayerIOError type if there is no room running with that id

public static const
UnknownRoomType :playerio:PlayerIOError

PlayerIOError type if the game you're connected to does not have a room type with the specified name

public static const
UnknownTable :playerio:PlayerIOError

PlayerIOError type if the specified table does not exist.

public static const
UnknownUser :playerio:PlayerIOError

PlayerIOError type if the user is unknown

public static const
UnsupportedMethod :playerio:PlayerIOError

PlayerIOError type if the method requested is not supported

public static const
VaultNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access coins or items before vault has been loaded. Please refresh the vault first.

PlayerIOError.type

public
type :playerio:PlayerIOError [read-only]

The type of error the PlayerIOError object represent

PlayerIOError.AccessDenied

public static const
AccessDenied :playerio:PlayerIOError

PlayerIOError type if access is denied

PlayerIOError.AchievementsNotLoaded

public static const
AchievementsNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access achievements before Refresh() has been called.

PlayerIOError.AdTrackCheckCookie

public static const
AdTrackCheckCookie :playerio:PlayerIOError

PlayerIOError type if check cookie required.

PlayerIOError.ArgumentOutOfRange

public static const
ArgumentOutOfRange :playerio:PlayerIOError

PlayerIOError type if the given argument value is outside the range of allowed values.

PlayerIOError.BigDBObjectDoesNotExist

public static const
BigDBObjectDoesNotExist :playerio:PlayerIOError

PlayerIOError type if could not locate the database object.

PlayerIOError.BigDBObjectTooLarge

public static const
BigDBObjectTooLarge :playerio:PlayerIOError

PlayerIOError type if the object exceeds the maximum allowed size for BigDB objects.

PlayerIOError.BuyingCoinsNotSupportedByProvider

public static const
BuyingCoinsNotSupportedByProvider :playerio:PlayerIOError

PlayerIOError type if the specified PayVault provider does not support buying coins

PlayerIOError.CircularReference

public static const
CircularReference :playerio:PlayerIOError

PlayerIOError type if cannot create circular references inside database objects

PlayerIOError.DialogClosed

public static const
DialogClosed :playerio:PlayerIOError

PlayerIOError type if the dialog was closed by the user

PlayerIOError.DirectPurchaseNotSupportedByProvider

public static const
DirectPurchaseNotSupportedByProvider :playerio:PlayerIOError

PlayerIOError type if the specified PayVault provider does not support direct purchase

PlayerIOError.ExternalError

public static const
ExternalError :playerio:PlayerIOError

PlayerIOError type if an error occurred while contacting an external service

PlayerIOError.GameDisabled

public static const
GameDisabled :playerio:PlayerIOError

PlayerIOError type if the game has been disabled, most likely because of missing payment.

PlayerIOError.GameRequestsNotLoaded

public static const
GameRequestsNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access requests before Refresh() has been called.

PlayerIOError.GameRequired

public static const
GameRequired :playerio:PlayerIOError

PlayerIOError type if a game is required to do this action

PlayerIOError.GeneralError

public static const
GeneralError :playerio:PlayerIOError

PlayerIOError type if a general error occurred

PlayerIOError.HeartbeatFailed

public static const
HeartbeatFailed :playerio:PlayerIOError

PlayerIOError type if the server could not complete the heartbeat

PlayerIOError.IndexOutOfBounds

public static const
IndexOutOfBounds :playerio:PlayerIOError

PlayerIOError type if the index was out of bounds from the range of acceptable values

PlayerIOError.InternalError

public static const
InternalError :playerio:PlayerIOError

PlayerIOError type if an unexpected error occurred inside the Player.IO webservice. Please try again.

PlayerIOError.InvalidArgument

public static const
InvalidArgument :playerio:PlayerIOError

PlayerIOError type if the given argument did not have the expected value

PlayerIOError.InvalidAuth

public static const
InvalidAuth :playerio:PlayerIOError

PlayerIOError type if the auth given is invalid or malformatted

PlayerIOError.InvalidBigDBKey

public static const
InvalidBigDBKey :playerio:PlayerIOError

PlayerIOError type if the key given for the BigDB object is not a valid BigDB key. Keys must be between 1 and 50 characters. Only letters, numbers, hyphens, underbars, and spaces are allowed.

PlayerIOError.InvalidGameCode

public static const
InvalidGameCode :playerio:PlayerIOError

PlayerIOError type if the game code is invalid

PlayerIOError.InvalidIdentifier

public static const
InvalidIdentifier :playerio:PlayerIOError

PlayerIOError type if the given identifier does not match the expected format

PlayerIOError.InvalidIndexValue

public static const
InvalidIndexValue :playerio:PlayerIOError

PlayerIOError type if the value given for the index, does not match the expected type.

PlayerIOError.InvalidMessageFormat

public static const
InvalidMessageFormat :playerio:PlayerIOError

PlayerIOError type if the message is malformatted

PlayerIOError.InvalidNotificationsEndpoint

public static const
InvalidNotificationsEndpoint :playerio:PlayerIOError

PlayerIOError type if the given notifications endpoint is invalid

PlayerIOError.InvalidPassword

public static const
InvalidPassword :playerio:PlayerIOError

PlayerIOError type if the password supplied is incorrect

PlayerIOError.InvalidPayVaultProviderSetup

public static const
InvalidPayVaultProviderSetup :playerio:PlayerIOError

PlayerIOError type if the chosen provider is not configured correctly in the admin panel

PlayerIOError.InvalidPurchaseArguments

public static const
InvalidPurchaseArguments :playerio:PlayerIOError

PlayerIOError type if the chosen provider rejected one or more of the purchase arguments

PlayerIOError.InvalidRegistrationData

public static const
InvalidRegistrationData :playerio:PlayerIOError

PlayerIOError type if the supplied data is incorrect

PlayerIOError.InvalidSegment

public static const
InvalidSegment :playerio:PlayerIOError

PlayerIOError type if the given segment was invalid.

PlayerIOError.InvalidType

public static const
InvalidType :playerio:PlayerIOError

PlayerIOError type if the given type was invalid

PlayerIOError.ItemNotInVault

public static const
ItemNotInVault :playerio:PlayerIOError

PlayerIOError type if the item does not exist in the vault.

PlayerIOError.KeyAlreadyUsed

public static const
KeyAlreadyUsed :playerio:PlayerIOError

PlayerIOError type if the key is in use by another database object

PlayerIOError.LoggedOut

public static const
LoggedOut :playerio:PlayerIOError

PlayerIOError type if this client has been logged out

PlayerIOError.MissingRoomId

public static const
MissingRoomId :playerio:PlayerIOError

PlayerIOError type if you can't join the room when the RoomID is null or the empty string

PlayerIOError.MissingValue

public static const
MissingValue :playerio:PlayerIOError

PlayerIOError type if a value is missing

PlayerIOError.NetworkIssue

public static const
NetworkIssue :playerio:PlayerIOError

PlayerIOError type if there is an issue with the network

PlayerIOError.NoServersAvailable

public static const
NoServersAvailable :playerio:PlayerIOError

PlayerIOError type if there is no server in any of the selected server clusters for the game that are eligible to start a new room in (they're all at full capacity or there are no servers in any of the clusters). Either change the selected clusters for your game in the admin panel, try again later or start some more servers for one of your clusters.

PlayerIOError.NotASearchColumn

public static const
NotASearchColumn :playerio:PlayerIOError

PlayerIOError type if the key you specified is not set as searchable. You can change the searchable keys in the admin panel for the server type

PlayerIOError.NotEnoughCoins

public static const
NotEnoughCoins :playerio:PlayerIOError

PlayerIOError type if the user does not have enough coins in the PayVault to complete the purchase or debit.

PlayerIOError.NotificationsNotLoaded

public static const
NotificationsNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access notification endpoints before Refresh() has been called.

PlayerIOError.NotObjectCreator

public static const
NotObjectCreator :playerio:PlayerIOError

PlayerIOError type if the operation was aborted because the user attempting the operation was not the original creator of the object accessed.

PlayerIOError.OneScoreNotLoaded

public static const
OneScoreNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access OneScore before Refresh() has been called.

PlayerIOError.PlayerIOError

public
PlayerIOError (message:String, id:int):void

Create a new PlayerIOError object. Errors initialized outside the api will have the type GeneralError

Arguments

message:String
id:int

PlayerIOError.PublishingNetworkNotAvailable

public static const
PublishingNetworkNotAvailable :playerio:PlayerIOError

PlayerIOError type if the Publishing Network features are only avaliable when authenticated to PlayerIO using Publishing Network authentication. Authentication methods are managed in the connections setting of your game in the admin panel on PlayerIO.

PlayerIOError.PublishingNetworkNotLoaded

public static const
PublishingNetworkNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access profile, friends, ignored before Publishing Network has been loaded. Please refresh Publishing Network first.

PlayerIOError.QuickConnectMethodNotEnabled

public static const
QuickConnectMethodNotEnabled :playerio:PlayerIOError

PlayerIOError type if the QuickConnect method (simple, facebook, kongregate...) is not enabled for the game. You can enable the various methods in the admin panel for the game

PlayerIOError.RoomAlreadyExists

public static const
RoomAlreadyExists :playerio:PlayerIOError

PlayerIOError type if you are unable to create room because there is already a room with the specified id

PlayerIOError.RoomDataTooLarge

public static const
RoomDataTooLarge :playerio:PlayerIOError

PlayerIOError type if the room data for the room was over the allowed size limit

PlayerIOError.RoomIsFull

public static const
RoomIsFull :playerio:PlayerIOError

PlayerIOError type if the room already has the maxmium amount of users in it.

PlayerIOError.StaleVersion

public static const
StaleVersion :playerio:PlayerIOError

PlayerIOError type if bigDB object could not be saved using optimistic locks as it's out of date.

PlayerIOError.UnknownAchievement

public static const
UnknownAchievement :playerio:PlayerIOError

PlayerIOError type if cannot find the achievement with the specified id.

PlayerIOError.UnknownConnection

public static const
UnknownConnection :playerio:PlayerIOError

PlayerIOError type if the connection requested is not known by the server

PlayerIOError.UnknownGame

public static const
UnknownGame :playerio:PlayerIOError

PlayerIOError type if the game requested is not known by the server

PlayerIOError.UnknownIndex

public static const
UnknownIndex :playerio:PlayerIOError

PlayerIOError type if the specified index does not exist.

PlayerIOError.UnknownPartnerPayAction

public static const
UnknownPartnerPayAction :playerio:PlayerIOError

PlayerIOError type if unable to locate the custom PartnerPay action with the given key

PlayerIOError.UnknownPayVaultProvider

public static const
UnknownPayVaultProvider :playerio:PlayerIOError

PlayerIOError type if there is no PayVault provider with the specified id

PlayerIOError.UnknownRoom

public static const
UnknownRoom :playerio:PlayerIOError

PlayerIOError type if there is no room running with that id

PlayerIOError.UnknownRoomType

public static const
UnknownRoomType :playerio:PlayerIOError

PlayerIOError type if the game you're connected to does not have a room type with the specified name

PlayerIOError.UnknownTable

public static const
UnknownTable :playerio:PlayerIOError

PlayerIOError type if the specified table does not exist.

PlayerIOError.UnknownUser

public static const
UnknownUser :playerio:PlayerIOError

PlayerIOError type if the user is unknown

PlayerIOError.UnsupportedMethod

public static const
UnsupportedMethod :playerio:PlayerIOError

PlayerIOError type if the method requested is not supported

PlayerIOError.VaultNotLoaded

public static const
VaultNotLoaded :playerio:PlayerIOError

PlayerIOError type if cannot access coins or items before vault has been loaded. Please refresh the vault first.