Versions in this module Expand all Collapse all v1 v1.1.0 Jul 10, 2026 v1.0.0 Jul 6, 2026 Changes in this version + func Op(op string) opString + type Error struct + Code string + Err error + Fields []FieldError + Kind Kind + Msg string + Op string + func As(err error) (*Error, bool) + func E(kind Kind, code, msg string, args ...any) *Error + func Validation(msg string, fields ...FieldError) *Error + func Wrapf(err error, op, format string, a ...any) *Error + func (e *Error) Error() string + func (e *Error) Unwrap() error + type FieldError struct + Code string + Field string + Message string + type Kind int + const KindConflict + const KindExternal + const KindForbidden + const KindIdempotencyExpired + const KindIdempotencyInFlight + const KindInternal + const KindNotFound + const KindRateLimited + const KindRuleViolation + const KindTenantIsolation + const KindUnauthenticated + const KindValidation + const KindVersionConflict + const KindWorkflowState + func KindOf(err error) Kind + func (k Kind) DefaultCode() string + func (k Kind) HTTPStatus() int