import { validationErrors as r } from "../constants.js";
const s = (e) => {
  switch (e) {
    case r.DISALLOWED_FILE_TYPE:
      return "common.inputs.file.errors.disallowedType";
    case r.FILE_REQUIRED:
      return "common.inputs.file.errors.required";
    case r.TOO_MANY_FILES:
      return "common.inputs.file.errors.tooMany";
    case r.VERY_LARGE_FILE:
      return "common.inputs.file.errors.tooLarge";
    case r.INVALID_DIMENSIONS:
      return "common.inputs.file.errors.invalidDimensions";
  }
  return "common.inputs.file.errors.default";
};
export {
  s as default,
  s as defaultMapErrors
};
