Documentation
¶
Overview ¶
Package agenterr classifies pipeline and function mutation failures into gRPC statuses.
No error code crosses the FFI boundary, only formatted text, so classification anchors on that flat message instead of a code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClassifyDelete ¶
ClassifyDelete maps a Delete RPC's backend failure to a gRPC status.
A trailing "not found" names the deleted entity itself; the same wording continuing further names a live in-use refusal instead and stays Internal.
func ClassifyUpdate ¶
ClassifyUpdate maps an Update RPC's backend failure to a gRPC status.
A pipeline update and a function update reach the same underlying validation, so a missing referenced function or a missing chain module both surface as NotFound regardless of which RPC ran; every other failure stays Internal.
Types ¶
This section is empty.