artiq: Update host exception list to match possibly thrown types #329

Merged
sb10q merged 1 commits from issue-283 into master 2023-11-01 13:28:50 +08:00
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,13 @@ class EmbeddingMap:
"SPIError", "SPIError",
"0:ZeroDivisionError", "0:ZeroDivisionError",
"0:IndexError", "0:IndexError",
"0:ValueError",
"0:RuntimeError",
"0:AssertionError",
"0:KeyError",
"0:NotImplementedError",
"0:OverflowError",
"0:IOError",
"0:UnwrapNoneError"]) "0:UnwrapNoneError"])
def preallocate_runtime_exception_names(self, names): def preallocate_runtime_exception_names(self, names):