type MutationIssue =
| {
kind: "validation";
severity: "error" | "warning";
ruleId: string;
addr: CellAddress;
value: CellValue;
message: string;
operationIndex: number;
}
| {
kind: "protection";
severity: "error";
protectedRangeId: string;
range: Range;
// … 33 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;// … 33 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;}// … 30 more lines — see the API reference}Structured warning or rejection produced while applying an operation.API reference →class SheetwriteError
extends Error
implements SheetwriteErrorEnvelope
{
constructor(
code: SheetwriteErrorCode,
operation: SheetwriteErrorOperation,
message: string,
options?: SheetwriteErrorOptions,
);
code:
| "aborted"
| "batch-limit"
| "blocked"
| "buffer-byte-limit"
// … 78 more lines — see the API reference
}classSheetwriteErrorextendsErrorimplementsSheetwriteErrorEnvelope{constructor(code:SheetwriteErrorCode,operation:SheetwriteErrorOperation,message:string,options?:SheetwriteErrorOptions,);code:|"aborted"|"batch-limit"|"blocked"|"buffer-byte-limit"// … 78 more lines — see the API reference}classSheetwriteErrorextendsErrorimplementsSheetwriteErrorEnvelope{constructor(code:SheetwriteErrorCode,operation:SheetwriteErrorOperation,message:string,options?:SheetwriteErrorOptions,);code:|"aborted"|"batch-limit"|"blocked"|"buffer-byte-limit"|"buffer-count-limit"|"buffer-operation-limit"|"comment-failed"// … 80 more lines — see the API reference}Canonical envelope for thrown and callback-delivered Sheetwrite failures.API reference →