Module panic_utils

Module panic_utils 

Source
Expand description

Utilities for consistent panic handling across the runtime

This module provides reusable panic handling utilities to reduce code duplication and ensure consistent error reporting.

Functionsยง

execute_fallible_with_panic_recovery
Execute a fallible closure with panic recovery
execute_with_panic_recovery
Execute a closure with panic recovery and send the result as an event
format_panic_message
Format a panic payload into a readable error message