> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# SIFR-RUST-PANIC-0001: Rust panic boundary contract is invalid.

> Rust panic boundary contract is invalid.

`SIFR-RUST-PANIC-0001` belongs to the **Rust panic strategy** diagnostic family. It means: rust panic boundary contract is invalid.

## Why It Happens

A Rust panic strategy, panic mapping, or poisoned-handle rule was violated.

<Info>
  Use `sifr --explain SIFR-RUST-PANIC-0001` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Details

| Field                  | Value                                                                                                                  |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Code                   | `SIFR-RUST-PANIC-0001`                                                                                                 |
| Family                 | `RUST-PANIC`                                                                                                           |
| Severity               | Error                                                                                                                  |
| Stability              | stable                                                                                                                 |
| Owner                  | `sifr_driver::build::rust_interop`                                                                                     |
| Representative fixture | `crates/sifr_driver/src/build/rust_interop_panic_contract_tests.rs::package_rust_interop_rejects_unknown_panic_policy` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.
