Skip to main content

caught

Function caught 

Source
pub fn caught<T: Send + 'static>(
    stack_bytes: usize,
    call: impl FnOnce() -> T + Send + 'static,
) -> Result<T, Stopped>
Expand description

The default hook leaves a stack trace on stderr and 101, not a JSON response.