MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / makeAtomError

Function makeAtomError

tsunami/util/util.go:146–151  ·  view source on GitHub ↗
(atomName string, parentName string, message string)

Source from the content-addressed store, hash-verified

144}
145
146func makeAtomError(atomName string, parentName string, message string) error {
147 if parentName != "" {
148 return fmt.Errorf("atom %s: in %s: %s", atomName, parentName, message)
149 }
150 return fmt.Errorf("atom %s: %s", atomName, message)
151}
152
153func validateAtomTypeRecursive(t reflect.Type, seen map[reflect.Type]bool, atomName string, parentName string) error {
154 if t == nil {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected