diff options
| author | Jeff Carr <[email protected]> | 2025-10-14 18:04:39 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-14 18:04:39 -0500 |
| commit | 97a695752040ccf96335c5e593bd9856a61a5fb6 (patch) | |
| tree | 1e80d7ec108f7a0973b957bf1d7912458bd35e04 /exit.go | |
| parent | c5a8b130ee51f69ed9d11719da1cb80d1c2c7048 (diff) | |
thoughts on errorsv0.0.24
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +package config + +// this is an experiment at this point to +// see how this turns out + +import ( + "os" + + "go.wit.com/log" +) + +// todo: figure out how to pass this back to argv +func BadExit(reason string, err error) { + log.Exit("lib/config exiting here", reason, err) + os.Exit(-1) +} |
