|
|
@ -22,7 +22,7 @@ func perr(format string, a ...interface{}) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Problem exists between keyboard and chair. This function is used in cases of
|
|
|
// Problem exists between keyboard and chair. This function is used in cases of
|
|
|
// programmer error, i.e. an inappripriate use of the param library, to
|
|
|
|
|
|
|
|
|
// programmer error, i.e. an inappropriate use of the param library, to
|
|
|
// immediately force the program to halt with a hopefully helpful error message.
|
|
|
// immediately force the program to halt with a hopefully helpful error message.
|
|
|
func pebkac(format string, a ...interface{}) { |
|
|
func pebkac(format string, a ...interface{}) { |
|
|
err := errors.New(errPrefix + fmt.Sprintf(format, a...) + yourFault) |
|
|
err := errors.New(errPrefix + fmt.Sprintf(format, a...) + yourFault) |
|
|
|