Spaces:
Paused
Paused
Download packages/temporal/src/errors.ts from ccheney/engram-benchmark: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/ccheney/engram-benchmark/resolve/main/packages/temporal/src/errors.ts
- Command line
-
hf download hf://spaces/ccheney/engram-benchmark/packages/temporal/src/errors.ts
-
curl -L -o errors.ts https://huggingface.co/spaces/ccheney/engram-benchmark/resolve/main/packages/temporal/src/errors.ts
318 Bytes
| export type ExecutionErrorType = "UserError" | "SystemError"; | |
| export interface ExecutionError { | |
| type: ExecutionErrorType; | |
| message: string; | |
| details?: unknown; | |
| } | |
| export const isUserError = (_err: unknown): boolean => { | |
| // Logic to distinguish syntax/runtime errors from sandbox crashes | |
| return true; // Default | |
| }; | |