pub fn trigger_rust_error() -> Result<(), CrashTestError>
Expand description
Trigger an error inside the Rust code.
This function simulates the occurrence of an expected error inside
the Rust code. You should expect calling this function to throw the
foreign-language representation of the CrashTestError
class.