forked from M-Labs/artiq
1
0
Fork 0

coredevice.exceptions: add CacheError.

This commit is contained in:
whitequark 2016-01-10 14:43:30 +00:00
parent 211af77e77
commit 4198601abb
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ class InternalError(Exception):
"""Raised when the runtime encounters an internal error condition."""
class CacheError(Exception):
"""Raised when putting a value into a cache row would violate memory safety."""
class RTIOUnderflow(Exception):
"""Raised when the CPU fails to submit a RTIO event early enough
(with respect to the event's timestamp).