11 lines · 446 B · TypeScript
RawDownload
import * as Data from "effect/Data"; export class ExecutionToolError extends Data.TaggedError("ExecutionToolError")<{  readonly message: string;  readonly cause?: unknown;}> {} // `CodeExecutionError` lives in `@executor-js/codemode-core` — the `CodeExecutor`// interface uses it as the default error channel, so the runtime packages// can import the same class directly.export { CodeExecutionError } from "@executor-js/codemode-core";