Skip to content

API Reference parrot_tools.querysource.errors

github-actions[bot] edited this page Nov 5, 2026 · 4 revisions

parrot_tools.querysource.errors

View source

Error hierarchy for QuerysourceToolkit (spec §3 M1). Messages are written for the LLM.

Class InvalidConditionsError

Placeholder / filter validation failed; the message lists offending keys and the allowed set.

Class QuerysourceToolkitError

Base for all toolkit errors.

Class RawSqlForbiddenError

Inline query / raw_query pipeline nodes are not allowed for this instance.

Class SlugNotFoundError

The query-slug does not exist in public.queries (wraps querysource.exceptions.SlugNotFound).

Class TenantDeniedError

The slug's program_slug is outside this toolkit's allowlist.

Message format: slug '<slug>' is not available for programs <programs>.

Class WriteDisabledError

save_multiquery or a destination step was requested while allow_write=False.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally