Common Python Errors¶
- AttributeError
- FileNotFoundError
- ImportError
- IndentationError
- IndexError
- KeyError
- NameError
- SyntaxError
- TypeError
- TypeError: Can’t convert XXX object to str implicitly
- TypeError: unorderable types: XXX > YYY
- TypeError: can only concatenate XXX (not YYY) to XXX
- TypeError: XXX indices must be integers, not YYY
- TypeError: unsupported operand type(s) for XXX: YYY and ZZZ
- TypeError: bad operand type for unary XXX: YYY
- TypeError: XXX object is not subscriptable
- TypeError: XXX missing YYY required positional argument: ZZZ
- TypeError: XXX object cannot be interpreted as an YYY
- TypeError: unhashable type: XXX
- UnboundLocalError
- ValueError