()
| 48 | } |
| 49 | |
| 50 | func (e *OptionAmbiguousError) Error() string { |
| 51 | return fmt.Sprintf("option %q is ambiguous on field %q; multiple options share this name (use --single-select-option-id with one of: %s)", e.Name, e.FieldName, strings.Join(e.Candidates, ", ")) |
| 52 | } |
| 53 | |
| 54 | // WrongFieldTypeError is returned when a field resolves by name but its data |
| 55 | // type does not support the requested operation, e.g. resolving an option name |