Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorMode string // "" is production, "testing" is running a go test, "debug" is development
set via -ldflags "-X github.com/FactomProject/factomd/electionsCore/errorhandling.ErrorMode=debug" on the build line
View Source
var T *testing.T // Should be set by all tests first
Functions ¶
func HandleError ¶
func HandleError(note string)
func HandleErrorf ¶
func HandleErrorf(format string, a ...interface{})
func HandleFatal ¶
func HandleFatal(note string)
func HandleFatalf ¶
func HandleFatalf(format string, a ...interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.