The types of errors include syntax, run-time, and logic errors.
Syntax errors occur when code in a statement is constructed incorrectly.
Run-time errors occur while the application is running and a statement attempts
an operation that is impossible to carry out.
Logic errors occur when code does not perform as you intended.