Documentation ¶ Index ¶ func IsNoRetry(err error) bool func NoRetry(err error) error func RetryAfter(delay time.Duration, err error) error func RetryDelay(err error) (time.Duration, bool) func ValidateRetryAfter(err error) error type Value func Clone(value *Value) *Value func Decode(data []byte) (*Value, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsNoRetry ¶ added in v0.4.1 func IsNoRetry(err error) bool func NoRetry ¶ added in v0.4.1 func NoRetry(err error) error func RetryAfter ¶ func RetryAfter(delay time.Duration, err error) error func RetryDelay ¶ func RetryDelay(err error) (time.Duration, bool) func ValidateRetryAfter ¶ func ValidateRetryAfter(err error) error Types ¶ type Value ¶ type Value struct { Code string `json:"code"` Message string `json:"message"` } Value is the shared durable and public representation of an operational or terminal failure. Distinct lifecycle projections store this same shape. func Clone ¶ func Clone(value *Value) *Value func Decode ¶ func Decode(data []byte) (*Value, error) Source Files ¶ View all Source files failure.go Click to show internal directories. Click to hide internal directories.