2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

firmware: add UnwrapNoneError exception

This commit is contained in:
Sebastien Bourdeauducq 2022-03-26 15:27:49 +08:00
parent f91e106586
commit 866a83796a

View File

@ -343,7 +343,8 @@ static EXCEPTION_ID_LOOKUP: [(&str, u32); 10] = [
("CacheError", 6),
("SPIError", 7),
("ZeroDivisionError", 8),
("IndexError", 9)
("IndexError", 9),
("UnwrapNoneError", 10),
];
pub fn get_exception_id(name: &str) -> u32 {