interface QueryDiagnostic {
readonly code: string;
readonly step: number | null;
readonly column: string | null;
readonly row: number | null;
}interfaceQueryDiagnostic{readonlycode:string;readonlystep:number|null;readonlycolumn:string|null;readonlyrow:number|null;}interfaceQueryDiagnostic{readonlycode:string;readonlystep:number|null;readonlycolumn:string|null;readonlyrow:number|null;}A stable failure code and optional coordinates, without source values or credentials.API referenceclass SheetwriteError
extends Error
implements SheetwriteErrorEnvelope
{
constructor(
code: SheetwriteErrorCode,
operation: SheetwriteErrorOperation,
message: string,
options?: SheetwriteErrorOptions,
);
code: SheetwriteErrorCode;
context?:
| Readonly<Record<string, SheetwriteErrorContextValue>>
| undefined;
name: string;
// … 4 more lines — see the API reference
}classSheetwriteErrorextendsErrorimplementsSheetwriteErrorEnvelope{constructor(code:SheetwriteErrorCode,operation:SheetwriteErrorOperation,message:string,options?:SheetwriteErrorOptions,);code:SheetwriteErrorCode;context?:|Readonly<Record<string,SheetwriteErrorContextValue>>|undefined;name:string;// … 4 more lines — see the API reference}classSheetwriteErrorextendsErrorimplementsSheetwriteErrorEnvelope{constructor(code:SheetwriteErrorCode,operation:SheetwriteErrorOperation,message:string,options?:SheetwriteErrorOptions,);code:SheetwriteErrorCode;context?:|Readonly<Record<string,SheetwriteErrorContextValue>>// … 6 more lines — see the API reference}The error Sheetwrite throws or passes to callbacks. Note: the message is cut to 8 KiB of UTF-8, and so are the context strings together, because both can quote host or file data.API reference