An error occurs when someone sincerely believes that eating is allowed at that time, but the fact turns out otherwise. Intentional violation involves knowing the fasting restriction applies and nevertheless acting against it.
The two cases have different analyses. Rules about kaffarah for deliberate violations have their own conditions and lie outside this particular source sentence.