Skip to main content

Module exceptions

Module exceptions 

Source
Expand description

Typed wrappers for the exception-list API.

Functions use the stable list_id plus namespace_type identity, never the volatile saved-object id (spec 4.5). The one exception is export_lists, which fetches id at the single boundary where the route demands it.

Structs§

DeletePlan
What plan_delete_op resolved, so the apply acts on exactly the keys the preview named rather than re-resolving a bare list_id after the guard.
ListDetail
The report get renders: one container and every item inside it.
ListFilter
ListReport
The report list renders: every matching container, in stable order.

Functions§

apply_delete_op
Continue after per-container failures so the result records every deletion and every container that remains.
apply_import_op
Upload the NDJSON plan_import_op prepared.
create_item
create_list
delete_item
delete_list
export_lists
Export the given containers and their items as NDJSON.
export_op
Export the selected containers and their items.
find_items
find_lists
get_list
get_op
Resolve a selector and fetch the container with all of its items.
import_lists
list_op
Every matching container. With no --namespace, both namespaces are read and merged so an agnostic container is never silently omitted: a list command that showed only half the namespace space would be lying (spec 5.2).
plan_delete_op
Resolve every selector before previewing, so the preview is accurate and an unresolved selector fails before any write. The resolved keys travel with the plan so the apply cannot resolve a different namespace than the preview showed.
plan_import_op
Compute the import preview and the NDJSON to upload.
resolve_ids
Map each key to the live container id on this stack. A key with no live container is absent from the map rather than mapped to a placeholder, so callers distinguish “exists here with this id” from “does not exist here”.
update_item
update_list
validate_op
Parse and validate a local file without contacting a server.