MCPcopy Create free account
hub / github.com/HashLoad/boss / Die

Method Die

msg/msg.go:97–103  ·  view source on GitHub ↗
(msg string, args ...interface{})

Source from the content-addressed store, hash-verified

95}
96
97func (m *Messenger) Die(msg string, args ...interface{}) {
98 m.Err(msg, args...)
99 if m.PanicOnDie {
100 panic("trapped a Die() call")
101 }
102 os.Exit(m.eCode)
103}
104
105func (m *Messenger) ExitCode(e int) int {
106 m.Lock()

Callers 2

PromptUntilYorNMethod · 0.95
DieFunction · 0.80

Calls 1

ErrMethod · 0.95

Tested by

no test coverage detected