Versions in this module Expand all Collapse all v0 v0.2.0 May 27, 2026 Changes in this version + var Codes = map[string]CodeMetadata + func CodesSorted() []string + func RenderMessage(code string, ctx map[string]any) string + type AppError struct + Code string + Context map[string]any + Fixups []string + Inner error + Message string + SeeAlso []string + func New(code, message string, ctx map[string]any) *AppError + func Wrap(code, message string, ctx map[string]any, inner error) *AppError + func (e *AppError) ContextKeys() []string + func (e *AppError) Error() string + func (e *AppError) MarshalJSON() ([]byte, error) + func (e *AppError) Unwrap() error + type CodeMetadata struct + Code string + FixupNotApplicable bool + Fixups []string + Message string + SeeAlso []string