coredevice: add UnwrapNoneError class

This commit is contained in:
abdul124 2024-08-23 12:12:24 +08:00 committed by Sébastien Bourdeauducq
parent 89f75c989c
commit 1f1ae74a5f

View File

@ -174,3 +174,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