errorhandling

package
v6.4.3-rc1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 3 Imported by: 0

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 ExpMsg

func ExpMsg(found bool)

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{})

func StartUnitTestErrorHandling

func StartUnitTestErrorHandling(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL