Documentation
¶
Overview ¶
Package initerror exposes a Permanent error contract for initialization failures that must not be retried. The package is a leaf: it imports nothing project-internal so it can be referenced by both the storage layer (which produces permanent errors) and the metadata-schema retry classifier (which reads them) without introducing a layering edge between those packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsPermanent ¶
AsPermanent wraps err as a Permanent error. Returns nil if err is nil.
func IsPermanent ¶
IsPermanent reports whether err's chain contains a Permanent error.
Types ¶
Click to show internal directories.
Click to hide internal directories.