MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / newError

Function newError

config/error.go:9–14  ·  view source on GitHub ↗
(option string, message string, args ...interface{})

Source from the content-addressed store, hash-verified

7)
8
9func newError(option string, message string, args ...interface{}) error {
10 return &configError{
11 message: fmt.Sprintf(message, args...),
12 optionPath: []string{option},
13 }
14}
15
16func wrapWithMessage(err error, option string, message string, args ...interface{}) error {
17 if err == nil {

Callers 15

ValidateWithCertsMethod · 0.85
validateClientCertMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected