Types of Program Error

Exclamation mark

There are three basic categories of program errors:

1. Syntax Errors
2. Run-time Errors
3. Logic Errors/Flaws

In the first two cases when an error occurs, the computer generally displays an ‘Error Message’, which describes the error, and its cause. Unfortunately, error messages are often difficult to interpret, and are sometimes misleading. In the last case, the program will not show any explicit error message but the program will not do what the programmer intended it to do.

Next: Syntax Errors