FIREQ_SERVER.utils.exceptions.FireqHardwareError#

exception FIREQ_SERVER.utils.exceptions.FireqHardwareError[source]#

Bases: Exception

Base exception for all hardware-related errors.

All exceptions in the hardware layer inherit from this, allowing callers to catch all hardware errors with a single except clause.

Exception Hierarchy:

FireqHardwareError
├── DriverError           (low-level driver failed)
├── TimingError           (timing constraints violated)
├── ConfigurationError    (invalid configuration)
│   ├── FrequencyError    (frequency out of range)
│   ├── EnvelopeUploadError (envelope upload failed)
│   └── WaveCompilationError (wave compilation failed)
├── DMAError              (DMA operation failed)
│   ├── DMATimeoutError   (DMA transfer timeout)
│   └── RecoverableDMAError (error but data may be valid)
├── HardwareResourceError (resource access failed)
└── HardwareStateError    (unexpected hardware state)