func New()
in
errors.go [19:21]
3
lines of code
1
McCabe index (conditional complexity)
func New(text string) error { return &errorString{text, Caller(1)} }