We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c19fda commit 2926461Copy full SHA for 2926461
packages/core/src/v3/schemas/common.ts
@@ -171,6 +171,7 @@ export const TaskRunInternalError = z.object({
171
"POD_EVICTED",
172
"POD_UNKNOWN_ERROR",
173
"OUTDATED_SDK_VERSION",
174
+ "TASK_DID_CONCURRENT_WAIT",
175
]),
176
message: z.string().optional(),
177
stackTrace: z.string().optional(),
@@ -179,6 +180,7 @@ export const TaskRunInternalError = z.object({
179
180
export type TaskRunInternalError = z.infer<typeof TaskRunInternalError>;
181
182
export const TaskRunErrorCodes = TaskRunInternalError.shape.code.enum;
183
+export type TaskRunErrorCodes = TaskRunInternalError["code"];
184
185
export const TaskRunError = z.discriminatedUnion("type", [
186
TaskRunBuiltInError,
0 commit comments