cat_gateway/service/utilities/
panic.rs

1//! An implementation of the panic endpoint.
2
3/// Implementation of the special `/panic` endpoint,
4/// which is used only for testing purposes and enabled for all networks except `Mainnet`
5#[poem::handler]
6#[allow(clippy::panic)]
7pub(crate) fn panic_endpoint() {
8    panic!("Intentional panicking")
9}