Intermediate Vocabulary #error-types #debugging #precision

Error Types: Syntax, Logic, Runtime & Semantic

5 exercises — developers who mix up error types sound imprecise in code reviews, incident reports, and interviews. Naming the error type correctly shows technical fluency.

The four error type categories
  • Syntax error — violates language grammar; caught before execution (parser, compiler, IDE)
  • Semantic / Type error — valid grammar, wrong meaning or types; caught by type system or compiler
  • Runtime error — the program crashes during execution (null reference, stack overflow, divide by zero)
  • Logic error — runs without crashing; produces wrong output; only caught by tests or humans
0 / 5 completed
1 / 5
The terminal prints:

SyntaxError: Unexpected token '}' (line 47)

The developer has not run the program yet — this message appeared immediately when loading the file. Which error type is this?