Versions in this module Expand all Collapse all v0 v0.0.3 Oct 1, 2026 v0.0.2 Aug 15, 2026 Changes in this version + const CodeAborted + const CodeAlreadyExists + const CodeCanceled + const CodeDataLoss + const CodeDeadlineExceeded + const CodeFailedPrecondition + const CodeInternal + const CodeInvalidArgument + const CodeNotFound + const CodeOK + const CodeOutOfRange + const CodePermissionDenied + const CodeResourceExhausted + const CodeUnauthenticated + const CodeUnavailable + const CodeUnimplemented + const CodeUnknown + func As(err error, target any) bool + func CodeToHTTP(code uint32) int + func HTTPToCode(httpStatus int) uint32 + func Is(err, target error) bool + func Join(errs ...error) error + func Unwrap(err error) error + type WindError struct + Code uint32 + Details map[string]string + Reason string + func AlreadyExists(reason string) *WindError + func BadRequest(reason string) *WindError + func DeadlineExceeded(reason string) *WindError + func FailedPrecondition(reason string) *WindError + func FromError(err error) (*WindError, bool) + func Internal(reason string) *WindError + func New(code uint32, reason string) *WindError + func NotFound(reason string) *WindError + func PermissionDenied(reason string) *WindError + func ResourceExhausted(reason string) *WindError + func Unauthenticated(reason string) *WindError + func Unavailable(reason string) *WindError + func Unimplemented(reason string) *WindError + func (e *WindError) Error() string + func (e *WindError) Is(target error) bool + func (e *WindError) StackTrace() string + func (e *WindError) Unwrap() error + func (e *WindError) WithCause(cause error) *WindError + func (e *WindError) WithCode(code uint32) *WindError + func (e *WindError) WithDetails(details map[string]string) *WindError