Skip to main content

Module base

Module base 

Source
Expand description

Foundational constants, error aliases, and domain types shared across conclavelib.

This module is the single source of truth for the small vocabulary every other module speaks: the anyhow error aliases used for application glue, the Constant home for magic values, and the core domain enums / paths from DESIGN.md §5, §6, and §9. Wire-crossing boundary errors (ProtocolError, AuthError, AclError) live in their respective modules, not here.

Structs§

Constant
A home for the project’s magic values, so they are named once and reused.
ParsePermissionError
The error returned when a permission-level string is not a known level.
ParseVisibilityError
The error returned when a visibility string is not a known tier.
SessionPath
A fully-qualified live participant path, {user}/{machine}/{session} (DESIGN.md §5).

Enums§

ParsePathError
The error returned when a SessionPath string is malformed.
PermissionLevel
How much an inbound message may drive the recipient’s agent (DESIGN.md §9).
Visibility
A channel’s discovery / join visibility tier, stored on the channel record (DESIGN.md §6).

Type Aliases§

Err
A helper type for errors.
Res
A helper type for results.
Void
A helper type for void results.