英语单词error和violation有什么区别?

error

1.thing done wrongly; mistake 错误; 差错:

spelling errors 拼法错误 * a computer error 计算机错误 * printer's errors, ie misprints 印刷错误.

2.state of being wrong in belief or behaviour 想法或行为的错误:

The letter was sent to you in error, ie by mistake. 此信误送给你了. * The accident was the result of human error. 这事故是人为的错误造成的.

3.(in calculations, etc) amount of inaccuracy (计算等的)误差:

an error of 2 per cent 百分之二的误差.

violation

breaking or being contrary to (a rule, principle, treaty, etc) 违反, 违背(规则、 原则、 条约等):

act in open/flagrant violation of a treaty 公然地[明目张胆地]违反条约

gross violations of human rights 对人权的严重侵犯.