Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAndExit ¶
func HandleAndExit(err error)
HandleAndExit prints the error to stderr and exits non-zero. Upstream callers should wrap errors with %w for context.
func RecoverAndExit ¶
func RecoverAndExit()
RecoverAndExit recovers from panics in main, logs them, and exits with a generic message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.