haiku.rag/haiku_rag_slim/haiku/rag/client
Yiorgis Gozadinos b6bc54c69e
Answer for an unknown database name with one type
A name nothing covers raised `KeyError` in four places and
`AmbiguousDatabaseError` in a fifth, so a caller had to catch both and neither
name said what happened. `UnknownDatabaseError` is all of them, exported from
`haiku.rag.store` beside the other errors.

It subclasses `KeyError`, since selecting by name is a lookup, and prints its
message plainly rather than quoted as a missing key. Both CLIs turn it into the
same clean exit they already gave the others.
2026-08-27 18:04:27 +03:00
..
__init__.py Answer for an unknown database name with one type 2026-08-27 18:04:27 +03:00
agents.py Name the databases before the model runs 2026-08-27 17:07:41 +03:00
documents.py Type writing against one database 2026-08-25 10:09:23 +03:00
downloads.py Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
exceptions.py typed UnsupportedSourceError replaces pipeline string-marker matching 2026-05-26 11:44:46 +03:00
processing.py Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
rebuild.py Type writing against one database 2026-08-25 10:09:23 +03:00
scope.py Answer for an unknown database name with one type 2026-08-27 18:04:27 +03:00
search.py Search one database the ordinary way, however it was selected 2026-08-27 14:41:10 +03:00
session.py Answer for an unknown database name with one type 2026-08-27 18:04:27 +03:00
titles.py Extract title generation into client/titles.py 2026-04-24 14:42:53 +03:00