2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-02-07 16:15:22 +08:00

coredevice: add UnwrapNoneError class

This commit is contained in:
abdul124 2024-08-23 12:12:24 +08:00 committed by Sébastien Bourdeauducq
parent 808d9c8004
commit a7e1d2b1c1

View File

@ -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