UNPKG

xcom2charpool

Version:

Library for reading, manipulating, and managing XCOM 2 character pool binary files, supporting both browser and Node.js environments.

16 lines (15 loc) 426 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CodecError = void 0; /** * Error type for codec failures that carries the full property path for diagnostics. */ class CodecError extends Error { constructor(message, path, cause) { super(message); this.path = path; this.cause = cause; this.name = 'CodecError'; } } exports.CodecError = CodecError;