errorhandling

package
v0.0.0-...-303b437 Latest Latest
Warning

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

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

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/DCNT-developer/dcnt/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