@sheetwrite/coreclass
Stable resource-limit failure raised before the next oversized parse or encode allocation.
- Package
@sheetwrite/core- Source
packages/core/src/delimited-text.ts#L52
Members 5
constructor
constructor(resource: keyof DelimitedTextResourceLimitsinterface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}interface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}interface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}Resource ceilings shared by synchronous CSV and TSV parsing and encoding.API reference →, limit: number, actual: number, operation: DelimitedTextOperationtype DelimitedTextOperation =
"parse" | "import" | "encode" | "export";type DelimitedTextOperation =
"parse" | "import" | "encode" | "export";type DelimitedTextOperation =
| "parse"
| "import"
| "encode"
| "export";Phase reported by a typed delimited-text resource failure.API reference →);actual
actual: number;limit
limit: number;name
name: "DelimitedTextResourceError";resource
resource: keyof DelimitedTextResourceLimitsinterface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}interface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}interface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}Resource ceilings shared by synchronous CSV and TSV parsing and encoding.API reference →Declaration
View full TypeScript declaration
class DelimitedTextResourceError extends SheetwriteErrorclass 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
}class 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
}class SheetwriteError
extends Error
implements
SheetwriteErrorEnvelope
{
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( resource: keyof DelimitedTextResourceLimitsinterface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}interface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}interface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}Resource ceilings shared by synchronous CSV and TSV parsing and encoding.API reference →, limit: number, actual: number, operation: DelimitedTextOperationtype DelimitedTextOperation =
"parse" | "import" | "encode" | "export";type DelimitedTextOperation =
"parse" | "import" | "encode" | "export";type DelimitedTextOperation =
| "parse"
| "import"
| "encode"
| "export";Phase reported by a typed delimited-text resource failure.API reference →, ); actual: number; limit: number; name: "DelimitedTextResourceError"; resource: keyof DelimitedTextResourceLimitsinterface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}interface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}interface DelimitedTextResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxRows: number;
maxColumns: number;
maxCells: number;
maxFieldBytes: number;
maxWriterWindowRows: number;
}Resource ceilings shared by synchronous CSV and TSV parsing and encoding.API reference →;}