HF RL Explorer

Feature Request / Bug Report: New Assertion PanicsWithError

Feature Request / Bug Report: New Assertion PanicsWithError: a task in LegoFlow-SWE (Harbor dataset). The existing PanicsWithValue assertion is difficult to use with error values. It compares the expected value and the recovered panic value using != (pointer equality), so even two error objects…

The task

The existing `PanicsWithValue` assertion is difficult to use with `error` values. It compares the expected value and the recovered panic value using `!=` (pointer equality), so even two error objects that contain the *same error message* fail to match. This typically results in confusing test failures like:

Part of Lego-X/LegoFlow-SWE.