Function simics::api::base::sim_exception::last_error

source ·
pub fn last_error() -> String
Expand description

Returns the error message associated with the most recently raised frontend exception, even if that exception has been cleared.

The returned string is only valid until the next use of the Simics API in the same thread.

§Context

Cell Context