(f Field, key string)
| 130 | } |
| 131 | |
| 132 | func keyNotFoundError(f Field, key string) *x.GqlError { |
| 133 | return f.GqlErrorf(nil, "Evaluation of custom field failed because key: %s "+ |
| 134 | "could not be found in the JSON response returned by external request "+ |
| 135 | "for field: %s within type: %s.", key, f.Name(), f.GetObjectName()) |
| 136 | } |
| 137 | |
| 138 | func jsonMarshalError(err error, f Field, input interface{}) *x.GqlError { |
| 139 | return f.GqlErrorf(nil, "Evaluation of custom field failed because json marshaling "+ |
no test coverage detected
searching dependent graphs…