Versions in this module Expand all Collapse all v2 v2.0.0 Feb 20, 2026 Changes in this version + func As(err error, target interface{}) bool + func Is(err, target error) bool + func Unwrap(err error) error + type Error struct + Cause error + Code ErrorCode + Context map[string]interface{} + Message string + Stack []uintptr + func New(code ErrorCode, message string, args ...interface{}) *Error + func Wrap(err error, code ErrorCode, message string, args ...interface{}) *Error + func (e *Error) DetailedError() string + func (e *Error) Error() string + func (e *Error) GetContext(key string) (interface{}, bool) + func (e *Error) Is(target error) bool + func (e *Error) StackTrace() string + func (e *Error) Unwrap() error + func (e *Error) WithContext(key string, value interface{}) *Error + func (e *Error) WithContextMap(context map[string]interface{}) *Error + type ErrorCode string + const ErrAlreadyExists + const ErrCache + const ErrCacheRead + const ErrCacheWrite + const ErrCanceled + const ErrCircularDep + const ErrCompilation + const ErrCompilerNotFound + const ErrCompilerVersion + const ErrConfig + const ErrConfigInvalid + const ErrConfigNotFound + const ErrDependency + const ErrFileDelete + const ErrFileRead + const ErrFileWrite + const ErrIO + const ErrInternal + const ErrInvalidArgument + const ErrInvalidInput + const ErrMissingDep + const ErrNotFound + const ErrPermissionDenied + const ErrPlugin + const ErrPluginExecute + const ErrPluginLoad + const ErrProtoInvalid + const ErrProtoNotFound + const ErrProtoScan + const ErrTimeout + const ErrUnknown + const ErrValidation + func (c ErrorCode) String() string