judge: refactor: use common JudgeTask interface

This commit is contained in:
undefined committed 2022-09-06 13:02:46 +08:00
1 parent e2d8df1428
commit 636446c43a
20 files changed
+291 -506

No files matched your search

+6 -1
View File
@@ -1,5 +1,10 @@
import { STATUS_TEXTS } from '@hydrooj/utils/lib/status';
import { CompileErrorInfo } from './interface';
interface CompileErrorInfo {
stdout?: string,
stderr?: string,
status?: number
}
export class CompileError extends Error {
stdout: string;