Skip to content
Sheetwrite

Sheetwrite / Documentation

XlsxResourceError@sheetwrite/core

Stable resource-limit failure surfaced before an XLSX codec allocates unsafe data.

Stable resource-limit failure surfaced before an XLSX codec allocates unsafe data.

Members 6

constructor
constructor(resource: keyof XlsxResourceLimits, limit: number, actual: number, operation: "import" | "export");
actual
actual: number;
code
code: "XLSX_RESOURCE_LIMIT";
limit
limit: number;
operation
operation: "import" | "export";
resource
resource: keyof XlsxResourceLimits

Declaration

View full TypeScript declaration
class XlsxResourceError extends RangeError {
constructor(
resource: keyof XlsxResourceLimits,
limit: number,
actual: number,
operation: "import" | "export",
);
actual: number;
code: "XLSX_RESOURCE_LIMIT";
limit: number;
operation: "import" | "export";
resource: keyof XlsxResourceLimits;
}