Photon Plugins API Documentation v5.0RC1

Static Public Attributes | List of all members
Photon.Hive.Plugin.ErrorCodes Class Reference

Internal plugin errors codes. More...

Static Public Attributes

const short MissingCallProcessing = 0
 Indicates that a callback process method was not called. More...
 
const short UnhandledException = 1
 Indicates that an unhandled exception has occured. More...
 
const short AsyncCallbackException = 2
 Indicates that an exception has occured in an asynchronous callback. More...
 
const short SetPropertiesPreconditionsFail = 3
 Indicates that preconditions of SetProperties were not met. More...
 
const short SetPropertiesCASFail = 4
 Indicates that CAS ("Check And Swap") failed when setting updated properties. More...
 
const short SetPropertiesException = 5
 Indicates that an exception has occurred when updating properties. More...
 
const short ProductSpecificErrorCodes = 1000
 all error codes specific either for chat or realtime may start from this number they should be defined in product specific plugin assembly (PhotonHivePlugin in case of realtime) More...
 
const short UserDefinedErrorCodes = 2000
 ErrorCodes which are defined by user More...
 

Detailed Description

Internal plugin errors codes.

Member Data Documentation

◆ AsyncCallbackException

const short Photon.Hive.Plugin.ErrorCodes.AsyncCallbackException = 2
static

Indicates that an exception has occured in an asynchronous callback.

◆ MissingCallProcessing

const short Photon.Hive.Plugin.ErrorCodes.MissingCallProcessing = 0
static

Indicates that a callback process method was not called.

◆ ProductSpecificErrorCodes

const short Photon.Hive.Plugin.ErrorCodes.ProductSpecificErrorCodes = 1000
static

all error codes specific either for chat or realtime may start from this number they should be defined in product specific plugin assembly (PhotonHivePlugin in case of realtime)

◆ SetPropertiesCASFail

const short Photon.Hive.Plugin.ErrorCodes.SetPropertiesCASFail = 4
static

Indicates that CAS ("Check And Swap") failed when setting updated properties.

◆ SetPropertiesException

const short Photon.Hive.Plugin.ErrorCodes.SetPropertiesException = 5
static

Indicates that an exception has occurred when updating properties.

◆ SetPropertiesPreconditionsFail

const short Photon.Hive.Plugin.ErrorCodes.SetPropertiesPreconditionsFail = 3
static

Indicates that preconditions of SetProperties were not met.

◆ UnhandledException

const short Photon.Hive.Plugin.ErrorCodes.UnhandledException = 1
static

Indicates that an unhandled exception has occured.

◆ UserDefinedErrorCodes

const short Photon.Hive.Plugin.ErrorCodes.UserDefinedErrorCodes = 2000
static

ErrorCodes which are defined by user