Files
SeedPass/torch/src/errors.mjs
T
google-labs-jules[bot]andPR0M3TH3AN 22bb29f16f Verify torch/src/ with lint
- Restore missing source files in `torch/src/` from `torch-lock` dependency.
- Setup ESLint in `torch/`.
- Fix linting issues in `src/lock-ops.mjs`, `src/lock-utils.mjs`, `src/ops.mjs`, `src/services/memory/embedder.js`.
- Mark 'Verify with lint' as completed in `src/todo/TODO_2026-02-14T13-30-00Z.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 03:33:32 +00:00

8 lines
161 B
JavaScript

// Custom Error class for controlled exits
export class ExitError extends Error {
constructor(code, message) {
super(message);
this.code = code;
}
}