Computer programs sometimes go wrong. There are three broad types of error you will encounter when you are writing code: Syntax errors. Logical errors. Runtime errors ...