Documentation
¶
Index ¶
- func ImpossibleError(err error) string
- func ImpossibleErrorf(err error, format string, args ...interface{}) string
- func ImpossibleToGetHere() string
- func ImpossibleToGetHeref(format string, args ...interface{}) string
- func NeverCalled() string
- func NeverCalledf(format string, args ...interface{}) string
- func NotImplemented() string
- func NotImplementedf(format string, args ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImpossibleError ¶
ImpossibleError returns a string describing the (supposedly) impossible error.
func ImpossibleErrorf ¶
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 ¶
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 ¶
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 ¶
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.