Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 498c861

Browse files
committed
Differentiate INVALID_JOB and INVALID_TASK error codes
1 parent 51591b7 commit 498c861

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ApiService/ApiService/OneFuzzTypes/Enums.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public enum ErrorCode {
88
INVALID_PERMISSION = 451,
99
MISSING_EULA_AGREEMENT = 452,
1010
INVALID_JOB = 453,
11-
INVALID_TASK = INVALID_JOB,
11+
INVALID_TASK = 493,
1212
UNABLE_TO_ADD_TASK_TO_JOB = 454,
1313
INVALID_CONTAINER = 455,
1414
UNABLE_TO_RESIZE = 456,

src/pytypes/onefuzztypes/enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ class ErrorCode(Enum):
261261
INVALID_PERMISSION = 451
262262
MISSING_EULA_AGREEMENT = 452
263263
INVALID_JOB = 453
264-
INVALID_TASK = 453
264+
INVALID_TASK = 493
265265
UNABLE_TO_ADD_TASK_TO_JOB = 454
266266
INVALID_CONTAINER = 455
267267
UNABLE_TO_RESIZE = 456

0 commit comments

Comments
 (0)