Quick Reference
This page lists all error codes covered on this site. Use your browser’s search (Ctrl+F) to find a specific code.
Windows Errors
| Code | Description | Fix |
|---|---|---|
| 0x80004005 | Unspecified Error | Windows Update troubleshooter, SFC/DISM |
| 0x80070005 | Access Denied | Take ownership, permissions fix |
| 0x80070002 | File Not Found (Update) | Clear SoftwareDistribution cache |
| 0x8000FFFF | Catastrophic Failure | wsreset.exe, re-register Store |
| DPC Watchdog Violation | BSOD | Update storage drivers, SSD firmware |
| IRQL_NOT_LESS_OR_EQUAL | BSOD | Update drivers, memory diagnostics |
Linux Errors
| Code | Name | Description | Fix |
|---|---|---|---|
| errno-1 | EPERM | Operation not permitted | sudo, chmod, chown |
| errno-2 | ENOENT | No such file or directory | Verify path, find command |
| errno-5 | EIO | Input/output error | Check disk, fsck |
| errno-12 | ENOMEM | Out of memory | Check free, add swap |
| errno-13 | EACCES | Permission denied | chmod, check ACLs |
| errno-28 | ENOSPC | No space left on device | df -h, find large files |
macOS Errors
| Code | Name | Description | Fix |
|---|---|---|---|
| -43 | FNFErr | File not found | Reset Finder, Spotlight |
| -36 | ioErr | Input/output error | Disk Utility First Aid |
| -50 | paramErr | Parameter error | Check syntax, reset NVRAM |
Python Errors
| Error | Description | Fix |
|---|---|---|
| TypeError | Wrong type operation | Type conversion |
| ValueError | Invalid argument | Input validation |
| KeyError | Dict key not found | .get(), ‘in’ check |
| IndexError | List index out of range | Check len() |
| AttributeError | No attribute | hasattr(), type check |
| ImportError | Module not found | pip install, sys.path |
| IndentationError | Bad indentation | 4 spaces, autopep8 |
| SyntaxError | Invalid syntax | Check syntax |
| ZeroDivisionError | Division by zero | Validate divisor |
| FileNotFoundError | File not found | Check path, os.path.exists |
C/C++ Errors
| Error | Description | Fix |
|---|---|---|
| Segmentation Fault | Memory access violation | gdb, null checks, valgrind |
| malloc NULL | Memory allocation failed | Check return, free memory |
| Stack Overflow | Infinite recursion | Base case, iteration |
| std::out_of_range | Index out of range | .at(), check size() |
| std::bad_alloc | Allocation failed | try/catch, smart pointers |
PHP Errors
| Error | Description | Fix |
|---|---|---|
| Parse Error | Syntax error | Check syntax |
| Fatal Error | Uncaught error | Define functions, memory |
| Undefined Index | Array key missing | isset(), ?? operator |
Java Errors
| Error | Description | Fix |
|---|---|---|
| NullPointerException | Null reference | null check, Optional |
| ClassNotFoundException | Class not found | Check classpath |
| OutOfMemoryError | Heap space | -Xmx, fix leaks |
| ClassCastException | Wrong cast | instanceof, generics |
| StackOverflowError | Infinite recursion | Base case, -Xss |
JavaScript/Node.js Errors
| Error | Description | Fix |
|---|---|---|
| ReferenceError | Variable not defined | Declare variable |
| TypeError | Cannot read property | Optional chaining ?. |
| SyntaxError | Unexpected token | Check syntax |
| ENOENT | File not found | path.join(), __dirname |
| CORS Error | Cross-origin blocked | Server headers, proxy |
Deprecated Functions
| Function | Language | Replacement |
|---|---|---|
| ereg() | PHP | preg_match() |
| split() | PHP | explode() |
| each() | PHP | foreach |
| mysql_* | PHP | mysqli_* / PDO |
| create_function() | PHP | Anonymous functions |
| print statement | Python | print() |
| raw_input() | Python | input() |
| has_key() | Python | ‘in’ operator |
| escape()/unescape() | JavaScript | encodeURI() |
| substr() | JavaScript | slice() |
| execCommand() | JavaScript | Clipboard API |
| Thread.stop() | Java | Thread.interrupt() |
| Date methods | Java | java.time API |