Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2026 Changes in this version + const ErrBadRequest + const ErrConflict + const ErrForbidden + const ErrNotFound + const ErrNotImplemented + const ErrUnauthenticated + const ErrUnavailable + type Conflict struct + Detail string + func Conflictf(f string, a ...any) *Conflict + func (e *Conflict) Error() string + func (e *Conflict) Is(t error) bool + type Forbidden struct + Detail string + func Forbiddenf(f string, a ...any) *Forbidden + func (e *Forbidden) Error() string + func (e *Forbidden) Is(t error) bool + type NotFound struct + Detail string + func (e *NotFound) Error() string + func (e *NotFound) Is(t error) bool + type NotImplemented struct + Detail string + func (e *NotImplemented) Error() string + func (e *NotImplemented) Is(t error) bool + type RateLimited struct + RetryAfter time.Duration + Scope string + func (e *RateLimited) Error() string + type Unavailable struct + Detail string + RetryAfter time.Duration + func (e *Unavailable) Error() string + func (e *Unavailable) Is(t error) bool + type Validation struct + Fields map[string][]string + func NewValidation() *Validation + func (v *Validation) Add(field, msg string) + func (v *Validation) Error() string + func (v *Validation) HasErrors() bool + func (v *Validation) OrNil() error v0.3.0-rc.1 Aug 23, 2026