python/error.py: Exception classes for QRAAT.