forked from M-Labs/artiq
coredevice: add UnwrapNoneError class
This commit is contained in:
parent
808d9c8004
commit
a7e1d2b1c1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue