mock_set_fbmu_hello_error

Function mock_set_fbmu_hello_error 

Source
pub fn mock_set_fbmu_hello_error(code: Option<i32>)
Expand description

Inject an error into the mock FBMU HELLO handshake.

When code is Some(status), fbmu_hello will return the corresponding FabricError instead of succeeding. Pass None to restore normal behavior.

Only available on native (non-WASM) targets.