Typed local transaction rejection produced when the durable queue cannot reserve capacity.
Package
@sheetwrite/core
Source
packages/core/src/sync.ts#L188
Members 3
constructor
constructor(issue: Extract<MutationIssuetype MutationIssue =
| {
kind: "validation";
severity: "error" | "warning";
ruleId: string;
addr: CellAddress;
value: CellValue;
message: string;
operationIndex: number;
}
| {
kind: "protection";
severity: "error";
protectedRangeId: string;
range: Range;
// … 32 more lines — see the API reference
}typeMutationIssue=| {kind:"validation";severity:"error"|"warning";ruleId:string;addr:CellAddress;value:CellValue;message:string;operationIndex:number;}| {kind:"protection";severity:"error";protectedRangeId:string;range:Range;// … 32 more lines — see the API reference}typeMutationIssue=| {kind:"validation";severity:"error"|"warning";ruleId:string;addr:CellAddress;value:CellValue;message:string;operationIndex:number;}| {kind:"protection";severity:"error";protectedRangeId:string;range:Range;operationIndex:number;message:string;}// … 29 more lines — see the API reference}Structured warning or rejection produced while applying an operation.API reference →, { kind: "resource-limit"; }>);
classSyncPendingCapacityErrorextendsSheetwriteErrorclass SheetwriteError
extends Error
implements SheetwriteErrorEnvelope
{
constructor(
code: SheetwriteErrorCode,
operation: SheetwriteErrorOperation,
message: string,
options?: SheetwriteErrorOptions,
);
code:
| "aborted"
| "blocked"
| "initialization-failed"
| "initialization-required"
// … 73 more lines — see the API reference
}classSheetwriteErrorextendsErrorimplementsSheetwriteErrorEnvelope{constructor(code:SheetwriteErrorCode,operation:SheetwriteErrorOperation,message:string,options?:SheetwriteErrorOptions,);code:|"aborted"|"blocked"|"initialization-failed"|"initialization-required"// … 73 more lines — see the API reference}classSheetwriteErrorextendsErrorimplementsSheetwriteErrorEnvelope{constructor(code:SheetwriteErrorCode,operation:SheetwriteErrorOperation,message:string,options?:SheetwriteErrorOptions,);code:|"aborted"|"blocked"|"initialization-failed"|"initialization-required"|"datasource-request-failed"|"renderer-fallback"|"export-failed"// … 75 more lines — see the API reference}Canonical envelope for thrown and callback-delivered Sheetwrite failures.API reference → {
constructor(
issue:Extract<
MutationIssuetype MutationIssue =
| {
kind: "validation";
severity: "error" | "warning";
ruleId: string;
addr: CellAddress;
value: CellValue;
message: string;
operationIndex: number;
}
| {
kind: "protection";
severity: "error";
protectedRangeId: string;
range: Range;
// … 32 more lines — see the API reference
}typeMutationIssue=| {kind:"validation";severity:"error"|"warning";ruleId:string;addr:CellAddress;value:CellValue;message:string;operationIndex:number;}| {kind:"protection";severity:"error";protectedRangeId:string;range:Range;// … 32 more lines — see the API reference}typeMutationIssue=| {kind:"validation";severity:"error"|"warning";ruleId:string;addr:CellAddress;value:CellValue;message:string;operationIndex:number;}| {kind:"protection";severity:"error";protectedRangeId:string;range:Range;operationIndex:number;message:string;}// … 29 more lines — see the API reference}Structured warning or rejection produced while applying an operation.API reference →,