There was an error in the calculation.
彼は自分の誤りを認めた。
He admitted his mistake.
There is an error in this report.
Please correct the errors before submitting it.
I later realized my own mistake.
誤り is a formal, written-style word for an error, while エラー is more casual and often used for machine or computer malfunctions.
誤り is a general word for any mistake or error, while 誤認 is narrower, referring specifically to misidentifying something.
writing mistake; clerical error; slip of the pen
error control