CubicleOperationError
The CubicleOperationError class of @cubicle/sdk: its constructor, properties and methods.
An operation ended failed, or unknown (its Node lost track of it; exec is never
replayed, so the command may or may not have run). code is operation_failed or
operation_unknown, and operation is the finished operation: its error says why it
failed.
Extends
Constructors
Constructor
new CubicleOperationError(operation): CubicleOperationError;Parameters
| Parameter | Type | Description |
|---|---|---|
operation | Operation | The finished operation. Its error says why it failed. |
Returns
CubicleOperationError
Overrides
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
cause? | public | unknown | - |
code | readonly | string | A stable machine-readable code, such as not_found or wait_timeout. |
message | public | string | - |
name | public | string | Always "CubicleOperationError". |
operation | readonly | Operation | The finished operation. Its error says why it failed. |
stack? | public | string | - |

