Understand your errors, fix them faster.
CodeClear explains common programming errors in plain English, so you can stop guessing and start fixing. Each answer tells you what the error means, why it happens, and how to resolve it.
Syntax Errors
- What does SyntaxError: invalid syntax mean in Python?
- How do I fix a missing semicolon error in JavaScript?
- What does unexpected token mean in JavaScript?
- Why do I get an indentation error in Python?
- What does expected ')' mean in C++?
- How do I fix an unclosed string literal error?
- What does Cannot use import statement outside a module mean?
- Where should a beginner look first when a program refuses to run?
Runtime Errors
- What does NullPointerException mean in Java?
- How do I fix IndexError: list index out of range in Python?
- What does TypeError: 'NoneType' object is not subscriptable mean?
- Why do I get a segmentation fault in C?
- What does ValueError: could not convert string to float mean?
- How do I fix a stack overflow error?
- What does KeyError mean in Python?
- What does RecursionError: maximum recursion depth exceeded mean in Python?
Type Errors
- What does TypeError: unsupported operand type(s) mean in Python?
- How do I fix cannot convert string to int in Java?
- What does undefined is not a function mean in JavaScript?
- Why do I get a type mismatch error in C++?
- What does incompatible types: possible lossy conversion mean in Java?
- How do I fix an implicit conversion error in C#?
- What does TS2339 Property does not exist on type mean in TypeScript?
- How do I fix 'TypeError: list indices must be integers or slices, not str' in Python?
Reference Errors
- What does NameError: name is not defined mean in Python?
- How do I fix ReferenceError: x is not defined in JavaScript?
- What does UnboundLocalError mean in Python?
- Why do I get a cannot find symbol error in Java?
- What does undefined reference to mean in C++?
- How do I fix a module not found error in Node.js?
- What does ImportError cannot import name mean in Python?
Compilation Errors
- What does expected declaration or statement at end of input mean in C?
- How do I fix a missing return statement error in Java?
- What does cannot find package mean in Go?
- Why do I get a duplicate class error in Java?
- What does no matching function for call to mean in C++?
- How do I fix an unresolved external symbol error in C++?
- What does error C2065 undeclared identifier mean in C++?
- What does error E0382 borrow of moved value mean in Rust?