MCPcopy
hub / github.com/cloudfoundry/cli / Error

Method Error

command/translatableerror/json_syntax_error.go:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5}
6
7func (e JSONSyntaxError) Error() string {
8 return "Invalid JSON content from server: {{.Err}}"
9}
10
11func (e JSONSyntaxError) Translate(translate func(string, ...interface{}) string) string {
12 return translate(e.Error(), map[string]interface{}{

Callers 1

TranslateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected