diff --git a/artiq/coredevice/exceptions.py b/artiq/coredevice/exceptions.py index bcc7ab146..1169414e7 100644 --- a/artiq/coredevice/exceptions.py +++ b/artiq/coredevice/exceptions.py @@ -181,3 +181,7 @@ class I2CError(Exception): class SPIError(Exception): """Raised when a SPI transaction fails.""" artiq_builtin = True + +class UnwrapNoneError(Exception): + """Raised when unwrapping a none Option.""" + artiq_builtin = True