Skip to content

Commit 2926461

Browse files
committed
Added TASK_DID_CONCURRENT_WAIT code
1 parent 1c19fda commit 2926461

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/v3/schemas/common.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export const TaskRunInternalError = z.object({
171171
"POD_EVICTED",
172172
"POD_UNKNOWN_ERROR",
173173
"OUTDATED_SDK_VERSION",
174+
"TASK_DID_CONCURRENT_WAIT",
174175
]),
175176
message: z.string().optional(),
176177
stackTrace: z.string().optional(),
@@ -179,6 +180,7 @@ export const TaskRunInternalError = z.object({
179180
export type TaskRunInternalError = z.infer<typeof TaskRunInternalError>;
180181

181182
export const TaskRunErrorCodes = TaskRunInternalError.shape.code.enum;
183+
export type TaskRunErrorCodes = TaskRunInternalError["code"];
182184

183185
export const TaskRunError = z.discriminatedUnion("type", [
184186
TaskRunBuiltInError,

0 commit comments

Comments
 (0)