package
1.11.3
Repository: https://github.com/cockroachdb/errors.git
Documentation: pkg.go.dev

# Functions

FlattenDetails retrieves the details as per GetAllDetails() and concatenates them into a single string.
FlattenHints retrieves the hints as per GetAllHints() and concatenates them into a single string.
GetAllDetails retrieves the details from the error using in post-order traversal.
GetAllHints retrieves the hints from the error using in post-order traversal.
WithDetail decorates an error with a textual detail.
WithDetailf is a helper that formats the detail string.
WithHint decorates an error with a textual hint.
WithHintf is a helper that formats the hint.

# Interfaces

ErrorDetailer is implemented by types that can provide user-informing detail strings.
ErrorHinter is implemented by types that can provide user-informing detail strings.