UNPKG

@r1tsu/payload

Version:

9 lines (8 loc) 339 B
import APIError from './APIError.js'; class InvalidFieldName extends APIError { constructor(field, fieldName){ super(`Field ${field.label} has invalid name '${fieldName}'. Field names can not include periods (.) and must be alphanumeric.`); } } export default InvalidFieldName; //# sourceMappingURL=InvalidFieldName.js.map