forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 4 additions and 0 deletions

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