Packages

Secure BEAM sandbox runtime for LLM code mode and MCP aggregation. Run concurrent LLM/tool clients safely while agents orchestrate approved tools, call upstream MCP/OpenAPI servers, and transform data.

Current section

Files

Jump to
ptc_runner lib ptc_runner lisp execution_error.ex
Raw

lib/ptc_runner/lisp/execution_error.ex

defmodule PtcRunner.Lisp.ExecutionError do
@moduledoc """
Exception used to signal execution errors during Lisp evaluation.
This exception is used internally by the `tool_executor` and `ToolNormalizer`
to propagate structured errors (like unknown tools or tool failures)
out of the evaluation loop and into the `Step` failure result.
"""
defexception [:reason, :message, :data]
end