pub fn kind_to_stable_str(kind: ErrorKind) -> &'static strExpand description
Map a ferriskey ErrorKind to a stable, snake_case wire string.
Used in HTTP ErrorBody.kind and any other external API so callers can
dispatch on a string contract without depending on the Debug repr of
ferriskey::ErrorKind (which is a library-internal formatting choice
that may change across ferriskey versions).
Contract: these strings are part of the public wire API. Do not rename
without bumping a major version. New ErrorKind variants added upstream
map to "unknown" until explicitly handled here.