← Về thư mục
frontend/src/features/execution/conflict.ts
- ForkPresentation · type · L18-L26 — type ForkPresentation = { kind: "conflict" | "error"; noCheckpoint: boolean; httpStatus: number | null; code: string; message: string; retry: false; masked: false; };
- rec · function · L28-L31 — function rec(value: unknown): Record | null
- httpStatusOf · function · L34-L43 — function httpStatusOf(error: unknown): number | null
- errorCodeOf · function · L45-L48 — function errorCodeOf(error: unknown): string
- errorMessageOf · function · L50-L56 — function errorMessageOf(error: unknown): string
- isForkNoCheckpoint · function · L58-L67 — function isForkNoCheckpoint(error: unknown): boolean
- presentForkError · function · L73-L88 — function presentForkError(error: unknown): ForkPresentation
- shouldRetryFork · function · L90-L92 — function shouldRetryFork(_presentation: ForkPresentation): boolean
- forkErrorDisplay · function · L95-L97 — function forkErrorDisplay(presentation: ForkPresentation): string
- ForkAttempt · type · L99-L101 — type ForkAttempt = | { ok: true; result: T; attempts: 1 } | { ok: false; presentation: ForkPresentation; attempts: 1 };
- forkOnce · function · L107-L114 — async function forkOnce(post: () => Promise): Promise>