MCPcopy Create free account
hub / github.com/nsf/gocode / error

Method error

package_text.go:80–82  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

78}
79
80func (p *gc_parser) error(msg string) {
81 panic(errors.New(msg))
82}
83
84func (p *gc_parser) errorf(format string, args ...interface{}) {
85 p.error(fmt.Sprintf(format, args...))

Callers 4

initMethod · 0.95
errorfMethod · 0.95
parse_nameMethod · 0.95
parse_const_declMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected