diff --git a/artiq/coredevice/exceptions.py b/artiq/coredevice/exceptions.py index c595d2fcc..46402a31f 100644 --- a/artiq/coredevice/exceptions.py +++ b/artiq/coredevice/exceptions.py @@ -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).