Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Failfast ¶
func Failfast(err error, level ErrorLevel, message string)
Types ¶
type ErrorLevel ¶
type ErrorLevel int
const ( Ignore ErrorLevel = iota // do nothing, just log Warn // log a Warning Error // log an Error and exit with code 1 Critical // log a Critical error and exit with code 1 Panic // log a Panic error and Panic )
Click to show internal directories.
Click to hide internal directories.