mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-10 13:34:16 +00:00
Adds lib/errors.py: the exception types the sub-servers raise for a failure they can describe -- an API rejection, a task that never finished, bad credentials, a Hub outage -- and render_tool_error, the one place any of them becomes text a client reads. Nothing imports it yet. The wrapper that turns these into an MCP error on every tool, and the servers that raise them, follow in this stack.