The employee will get an error while applying for leave “This leave type cannot be applied for the previous date” when this particular leave type cannot be applied for previous dates as per the leave policy.
For example, if your organization's sick leave policy restrict employee applying for leave for the future dates