Spaces:
Paused
Paused
File size: 318 Bytes
2d661b0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | 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
};
|