Versions in this module Expand all Collapse all v0 v0.4.6 Mar 3, 2026 Changes in this version + func New(kind Kind, code, message string, opts ...Option) error + func Wrap(kind Kind, code, message string, cause error, opts ...Option) error + type Error struct + Code string + Field string + Kind Kind + Message string + Path string + func As(err error) (*Error, bool) + func (e *Error) Error() string + func (e *Error) Unwrap() error + type Kind string + const KindDependencyMissing + const KindInternal + const KindInvalidInput + const KindValidation + const KindVerification + type Option func(*Error) + func WithCause(err error) Option + func WithField(field string) Option + func WithPath(path string) Option