mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-10 09:11:36 +00:00
Bring ErrorCode enums into sync (#3129)
ErrorCode enums on Python & C# side had gotten out of sync. This can cause the CLI to fail to parse responses.
This commit is contained in:
parent
5048e6d50c
commit
66b990bb7e
@ -1173,7 +1173,17 @@ If webhook is set to have Event Grid message format then the payload will look a
|
||||
471,
|
||||
472,
|
||||
473,
|
||||
474
|
||||
474,
|
||||
475,
|
||||
476,
|
||||
477,
|
||||
478,
|
||||
479,
|
||||
480,
|
||||
481,
|
||||
482,
|
||||
483,
|
||||
484
|
||||
],
|
||||
"title": "ErrorCode"
|
||||
},
|
||||
@ -1809,7 +1819,17 @@ If webhook is set to have Event Grid message format then the payload will look a
|
||||
471,
|
||||
472,
|
||||
473,
|
||||
474
|
||||
474,
|
||||
475,
|
||||
476,
|
||||
477,
|
||||
478,
|
||||
479,
|
||||
480,
|
||||
481,
|
||||
482,
|
||||
483,
|
||||
484
|
||||
],
|
||||
"title": "ErrorCode"
|
||||
}
|
||||
@ -2744,7 +2764,17 @@ If webhook is set to have Event Grid message format then the payload will look a
|
||||
471,
|
||||
472,
|
||||
473,
|
||||
474
|
||||
474,
|
||||
475,
|
||||
476,
|
||||
477,
|
||||
478,
|
||||
479,
|
||||
480,
|
||||
481,
|
||||
482,
|
||||
483,
|
||||
484
|
||||
],
|
||||
"title": "ErrorCode"
|
||||
}
|
||||
@ -3461,7 +3491,17 @@ If webhook is set to have Event Grid message format then the payload will look a
|
||||
471,
|
||||
472,
|
||||
473,
|
||||
474
|
||||
474,
|
||||
475,
|
||||
476,
|
||||
477,
|
||||
478,
|
||||
479,
|
||||
480,
|
||||
481,
|
||||
482,
|
||||
483,
|
||||
484
|
||||
],
|
||||
"title": "ErrorCode"
|
||||
},
|
||||
@ -5529,7 +5569,17 @@ If webhook is set to have Event Grid message format then the payload will look a
|
||||
471,
|
||||
472,
|
||||
473,
|
||||
474
|
||||
474,
|
||||
475,
|
||||
476,
|
||||
477,
|
||||
478,
|
||||
479,
|
||||
480,
|
||||
481,
|
||||
482,
|
||||
483,
|
||||
484
|
||||
],
|
||||
"title": "ErrorCode"
|
||||
},
|
||||
|
@ -39,6 +39,7 @@ public enum ErrorCode {
|
||||
UNEXPECTED_DATA_SHAPE = 482,
|
||||
UNABLE_TO_SEND = 483,
|
||||
NODE_DELETED = 484,
|
||||
// NB: if you update this enum, also update enums.py
|
||||
}
|
||||
|
||||
public enum VmState {
|
||||
|
@ -281,6 +281,17 @@ class ErrorCode(Enum):
|
||||
PROXY_FAILED = 472
|
||||
INVALID_CONFIGURATION = 473
|
||||
UNABLE_TO_CREATE_CONTAINER = 474
|
||||
UNABLE_TO_DOWNLOAD_FILE = 475
|
||||
VM_UPDATE_FAILED = 476
|
||||
UNSUPPORTED_FIELD_OPERATION = 477
|
||||
ADO_VALIDATION_INVALID_PAT = 478
|
||||
ADO_VALIDATION_INVALID_FIELDS = 479
|
||||
GITHUB_VALIDATION_INVALID_PAT = 480
|
||||
GITHUB_VALIDATION_INVALID_REPOSITORY = 481
|
||||
UNEXPECTED_DATA_SHAPE = 482
|
||||
UNABLE_TO_SEND = 483
|
||||
NODE_DELETED = 484
|
||||
# NB: if you update this enum, also update Enums.cs
|
||||
|
||||
|
||||
class HeartbeatType(Enum):
|
||||
|
Loading…
x
Reference in New Issue
Block a user