pub const API_InitThrowsException: &str = "API_InitThrowsException";
init_device() threw, so the device is no longer available.
init_device()