Function panic_search::with_query
[−]
[src]
pub fn with_query<F>(query_fn: F) where
F: Fn(&str) -> String + Send + Sync + 'static,
Search panic messages via duck duck go using a custom query. The passed closure receives the panic message and needs to return a duck duck query.
Example (searching on google)
with_query(|msg| format!("!google {}", msg))