Skip to content

API Reference parrot.semantic.errors

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

parrot.semantic.errors

View source

Semantic-layer exception hierarchy (spec §3 Module 2).

Class SemanticAccessError

Denied access to a semantic model, member, or resource.

Class SemanticError

Base for all semantic-layer errors.

Parameter Type Default Description
code str Stable machine-readable error code.
message str '' Human-readable message without SQL or subject values.
details dict[str, Any] | None None Extra structured context such as suggestions or an audit ID.

Attributes:

Attribute Type Description
details dict[str, Any]

Class SemanticExecutionError

Database execution failure whose details identify an audit entry.

Class SemanticPolicyError

Invalid model or policy definition.

Class SemanticResultError

Unknown, foreign, expired, or stale result handle.

Class SemanticValidationError

Malformed or unsatisfiable semantic query.

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