mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-04 20:01:54 +00:00
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:
2 files changed
+32
No files matched your search
@@ -2,6 +2,7 @@
|
||||
export class ExitError extends Error {
|
||||
constructor(code, message) {
|
||||
super(message);
|
||||
this.name = 'ExitError';
|
||||
this.code = code;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user