Type Alias: PlotConnectionErrorCode

PlotConnectionErrorCode = "CONNECTION_OPTIONS_MISMATCH" | "CONNECTION_FAILED" | "CONNECTION_TIMEOUT" | "INCOMPATIBLE_SDK" | "INVALID_PARENT_ORIGIN" | "NOT_IN_PLOT_SESSION" | "UNSUPPORTED_BROWSER"

A stable machine-readable reason that PlotSDK.connect() could not establish a connection.

Remarks

CodeMeaning
CONNECTION_OPTIONS_MISMATCHA later call used different options than the connection already in progress.
CONNECTION_FAILEDPlot could not finish connecting to the game.
CONNECTION_TIMEOUTPlot did not connect before the startup timeout.
INCOMPATIBLE_SDKThis SDK version is not compatible with the current Plot connection.
INVALID_PARENT_ORIGINThe configured Plot origin is not an allowed exact HTTP(S) origin.
NOT_IN_PLOT_SESSIONThe game was opened directly instead of through Plot.
UNSUPPORTED_BROWSERThe browser does not provide an API required by the SDK.