import { fieldAffectsData } from '../fields/config/types.js';
import APIError from './APIError.js';
class MissingFieldType extends APIError {
    constructor(field){
        super(`Field${fieldAffectsData(field) ? ` "${field.name}"` : ''} is either missing a field type or it does not match an available field type`);
    }
}
export default MissingFieldType;

//# sourceMappingURL=MissingFieldType.js.map