package
Version:
v0.50.1
Opens a new window with list of versions in this module.
Published: Nov 24, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ExitOnErr(err error)
ExitOnErr writes error to os.Stderr and calls os.Exit with passed exit code or by default 1.
Does nothing if err is nil.
ExitErr specific error for ExitOnErr function that passes the exit code and error caused.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.