Crate crashtest

Source
Expand description

§Crash Test Helper APIs

The crashtest component offers a little helper API that lets you deliberately crash the application. It’s intended to help developers test the crash-handling and crash-reporting capabilities of their app.

Enums§

CrashTestError
An error that can be returned from Rust code.

Functions§

trigger_rust_abort
Trigger a hard abort inside the Rust code.
trigger_rust_error
Trigger an error inside the Rust code.
trigger_rust_panic
Trigger a panic inside the Rust code.