Runtime errors are errors that occur after the code has been compiled and executed. This is code that looks correct because it has no syntax errors, but cannot be executed. For example, you might write a line of code to open a file correctly.