Class: PlotOperationError

An error from Plot startup synchronization or a gameplay operation.

Use code for program logic and message for developer-facing diagnostics.

See

Error handling

Extends

Constructors

Constructor

new PlotOperationError(code, message, options?): PlotOperationError

Creates a Plot operation error.

Parameters

code

PlotOperationErrorCode

The stable machine-readable failure reason.

message

string

A developer-facing explanation of the failure.

options?

PlotErrorOptions

Optional diagnostic information, including the cause.

Returns

PlotOperationError

Overrides

PlotError.constructor

Properties

cause?

readonly optional cause?: unknown

The lower-level error that caused this failure, when one exists.

Inherited from

PlotError.cause


code

readonly code: PlotOperationErrorCode

The stable machine-readable failure reason.

Overrides

PlotError.code