diff options
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) +} |
