Merge pull request #354 from PR0M3TH3AN/add-exiterror-tests-11501687712657376665

🧪 [testing improvement] Add tests for ExitError class and improve its implementation
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-19 22:50:17 -05:00
commit a4ffa537f6
2 files changed
+32

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
export class ExitError extends Error {
constructor(code, message) {
super(message);
this.name = 'ExitError';
this.code = code;
}
}