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

Commit 1b40cf5

Browse files
authored
Bring ErrorCode enums into sync
1 parent 5048e6d commit 1b40cf5

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/ApiService/ApiService/OneFuzzTypes/Enums.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public enum ErrorCode {
3939
UNEXPECTED_DATA_SHAPE = 482,
4040
UNABLE_TO_SEND = 483,
4141
NODE_DELETED = 484,
42+
// NB: if you update this enum, also update enums.py
4243
}
4344

4445
public enum VmState {

src/pytypes/onefuzztypes/enums.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,17 @@ class ErrorCode(Enum):
281281
PROXY_FAILED = 472
282282
INVALID_CONFIGURATION = 473
283283
UNABLE_TO_CREATE_CONTAINER = 474
284-
284+
UNABLE_TO_DOWNLOAD_FILE = 475
285+
VM_UPDATE_FAILED = 476
286+
UNSUPPORTED_FIELD_OPERATION = 477
287+
ADO_VALIDATION_INVALID_PAT = 478
288+
ADO_VALIDATION_INVALID_FIELDS = 479
289+
GITHUB_VALIDATION_INVALID_PAT = 480
290+
GITHUB_VALIDATION_INVALID_REPOSITORY = 481
291+
UNEXPECTED_DATA_SHAPE = 482
292+
UNABLE_TO_SEND = 483
293+
NODE_DELETED = 484
294+
# NB: if you update this enum, also update Enums.cs
285295

286296
class HeartbeatType(Enum):
287297
MachineAlive = "MachineAlive"

0 commit comments

Comments
 (0)