Skip to main content

Module error

Module error 

Source
Expand description

Authoring API error taxonomy and wire mapping. Authoring API error taxonomy and its wire mapping.

Mirrors crate::api::handlers::deploy::DeployApiError: a small set of failure classes the transports render distinctly. The defining class is AuthoringApiError::TypeError, which carries the verbatim gleam compiler diagnostics so the author sees the real type error inline (HTTP 400). Everything else maps onto the standard wire-code tables.

Enumsยง

AuthoringApiError
Failure classes for the server-side authoring loop.