Versions in this module Expand all Collapse all v0 v0.3.0 Jun 14, 2025 Changes in this version + func IsRetryable(err error) bool + func IsType(err error, errType ErrorType) bool + type Error struct + Cause error + Details map[string]interface{} + Message string + Stack []StackFrame + Type ErrorType + func New(errType ErrorType, message string) *Error + func Wrap(err error, errType ErrorType, message string) *Error + func (e *Error) Error() string + func (e *Error) Unwrap() error + func (e *Error) WithDetail(key string, value interface{}) *Error + type ErrorType string + const ErrorTypeAuthentication + const ErrorTypeCapability + const ErrorTypeConfig + const ErrorTypeConflict + const ErrorTypeConnection + const ErrorTypeData + const ErrorTypeFile + const ErrorTypeHealth + const ErrorTypeInternal + const ErrorTypeNotFound + const ErrorTypePermission + const ErrorTypeQuery + const ErrorTypeRateLimit + const ErrorTypeTimeout + const ErrorTypeValidation + type StackFrame struct + File string + Function string + Line int