forked from M-Labs/artiq-zynq
libksupport: remove additional error categories
This commit is contained in:
parent
9788be1294
commit
67ad4ea14a
@ -422,7 +422,7 @@ extern "C" fn stop_fn(
|
||||
}
|
||||
|
||||
// Must be kept in sync with preallocate_runtime_exception_names() in artiq/language/embedding_map.py
|
||||
static EXCEPTION_ID_LOOKUP: [(&str, u32); 14] = [
|
||||
static EXCEPTION_ID_LOOKUP: [(&str, u32); 12] = [
|
||||
("RuntimeError", 0),
|
||||
("RTIOUnderflow", 1),
|
||||
("RTIOOverflow", 2),
|
||||
@ -435,8 +435,6 @@ static EXCEPTION_ID_LOOKUP: [(&str, u32); 14] = [
|
||||
("IndexError", 9),
|
||||
("UnwrapNoneError", 10),
|
||||
("SubkernelError", 11),
|
||||
("ValueError", 12),
|
||||
("LinAlgError", 13),
|
||||
];
|
||||
|
||||
pub fn get_exception_id(name: &str) -> u32 {
|
||||
|
Loading…
Reference in New Issue
Block a user