(atomName string, parentName string, message string)
| 144 | } |
| 145 | |
| 146 | func 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 | |
| 153 | func validateAtomTypeRecursive(t reflect.Type, seen map[reflect.Type]bool, atomName string, parentName string) error { |
| 154 | if t == nil { |
no outgoing calls
no test coverage detected