fatal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: CC0-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImpossibleError

func ImpossibleError(err error) string

ImpossibleError returns a string describing the (supposedly) impossible error.

func ImpossibleErrorf

func ImpossibleErrorf(err error, format string, args ...interface{}) string

ImpossibleErrorf returns a string describing the (supposedly) impossible error. Additional information, formated according to the given format specifier, will be appended to the string.

func ImpossibleToGetHere

func ImpossibleToGetHere() string

ImpossibleToGetHere returns a string stating the the current code path is (supposedly) impossible to reach.

func ImpossibleToGetHeref

func ImpossibleToGetHeref(format string, args ...interface{}) string

ImpossibleToGetHeref returns a string stating the the current code path is (supposedly) impossible to reach. Additional information, formated according to the given format specifier, will be appended to the string.

func NeverCalled

func NeverCalled() string

NeverCalled returns a string stating the the current code path should never be called (for example, the method only exists to satisfy an interface).

func NeverCalledf

func NeverCalledf(format string, args ...interface{}) string

NeverCalledf returns a string stating the the current code path should never be called (for example, the method only exists to satisfy an interface). Additional information, formated according to the given format specifier, will be appended to the string.

func NotImplemented

func NotImplemented() string

NotImplemented returns a string stating that the current code path is not implemented.

func NotImplementedf

func NotImplementedf(format string, args ...interface{}) string

NotImplementedf returns a string stating that the current code path is not implemented. Additional information, formated according to the given format specifier, will be appended to the string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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