Skip to content

errors Types

Type definitions from src/errors.ts

Type definitions from src/errors.ts

XlsxErrorCode

Stable failure categories exposed by XlsxError.

Codes are intentionally broader than individual messages so callers can handle failures without depending on human-readable text.

type XlsxErrorCode = "INVALID_ARGUMENT" | "MALFORMED" | "LIMIT_EXCEEDED" | "UNSUPPORTED" | "CRC_MISMATCH" | "NOT_FOUND" | "DUPLICATE"