Crosswake.Bridge.UndeclaredCapabilityError exception (crosswake v0.2.4)

View Source

Raised by Crosswake.Bridge.push/3 when a route's policy never declared the requested capability family. This is an outbound preflight failure (D-04): nothing has reached the wire and no shell has been asked, so there is no shell fact for a Crosswake.Shell.Denial to honestly report (D-06). It raises unconditionally, in every environment including :prod (D-05) — the message names the route id, the missing family, what IS currently declared, the calling LiveView module, the router location (best-effort), and the literal capabilities line to add.

Defined at the top level for the same reason as Crosswake.Bridge.NotMountedError above — nesting would double the module prefix.