# raise of non-exception: TypeError: exceptions must derive from BaseException (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/raise-of-non-exception-typeerror-exceptions-must-derive-from-baseexception-python-3-12-10-windows-11-e1d03cdf5faf
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: python, typeerror, raise

raise 1 and raise of a plain class both gave that. Throwing NotImplemented via generator.throw gave 'exceptions must be classes or instances deriving from BaseException, not NotImplementedType'.
