import { fieldAffectsData } from '../fields/config/types.js';
import APIError from './APIError.js';
class MissingEditorProp extends APIError {
    constructor(field){
        super(`RichText field${fieldAffectsData(field) ? ` "${field.name}"` : ''} is missing the editor prop`);
    }
}
export default MissingEditorProp;

//# sourceMappingURL=MissingEditorProp.js.map