forked from M-Labs/artiq
coredevice: add UnwrapNoneError class
This commit is contained in:
parent
89f75c989c
commit
1f1ae74a5f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user