Cubicle

CubicleTimeoutError

The CubicleTimeoutError class of @cubicle/sdk: its constructor, properties and methods.

A wait ran out of time. last is the most recent Box or Operation it saw. code is wait_timeout. The request itself stays in effect: the Box or operation may still finish.

Extends

Constructors

Constructor

new CubicleTimeoutError(message, last): CubicleTimeoutError;

Parameters

ParameterTypeDescription
messagestring-
last| BoxInfo | Operation | undefinedThe last record the wait read, or undefined if no read succeeded.

Returns

CubicleTimeoutError

Overrides

CubicleError.constructor

Properties

PropertyModifierTypeDescription
cause?publicunknown-
codereadonlystringA stable machine-readable code, such as not_found or wait_timeout.
lastreadonly| BoxInfo | Operation | undefinedThe last record the wait read, or undefined if no read succeeded.
messagepublicstring-
namepublicstringAlways "CubicleTimeoutError".
stack?publicstring-

On this page