Type Alias: PlotConnectionErrorCode

PlotConnectionErrorCode = "connection-options-mismatch" | "connection-failed" | "connection-timeout" | "incompatible-sdk" | "not-in-plot-session" | "unsupported-browser"

A stable machine-readable reason for a failure in the connection stage of Plot.ready() or for conflicting connection settings.

Remarks

CodeMeaning
connection-options-mismatchA call supplied a different parentOrigin from the readiness settings already in use.
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.
not-in-plot-sessionThe game was opened directly instead of through Plot.
unsupported-browserThe browser does not provide an API required by the SDK.