Skip to content
Sheetwrite

Sheetwrite / Documentation

SyncPendingCapacityError@sheetwrite/core

Typed local transaction rejection produced when the durable queue cannot reserve capacity.

Typed local transaction rejection produced when the durable queue cannot reserve capacity.

Members 4

constructor
constructor(issue: Extract<MutationIssue, { kind: "resource-limit"; }>);
code
code: "pending-capacity";
issue
issue: { kind: "resource-limit"; severity: "error"; resource: "operations" | "encoded-bytes" | "pending-commits" | "pending-operations" | "pending-encoded-bytes"; actual: number; max: number; message: string; };
name
name: "SyncPendingCapacityError"

Declaration

View full TypeScript declaration
class SyncPendingCapacityError extends RangeError {
constructor(
issue: Extract<
MutationIssue,
{
kind: "resource-limit";
}
>,
);
code: "pending-capacity";
issue: {
kind: "resource-limit";
severity: "error";
resource:
| "operations"
| "encoded-bytes"
| "pending-commits"
| "pending-operations"
| "pending-encoded-bytes";
actual: number;
max: number;
message: string;
};
name: "SyncPendingCapacityError";
}