[−][src]Function sentry::parse_type_from_debug
pub fn parse_type_from_debug(d: &str) -> &str
Parse the types name from Debug
output.
Examples
use sentry::parse_type_from_debug; let err = format!("{:?}", "NaN".parse::<usize>().unwrap_err()); assert_eq!(parse_type_from_debug(&err), "ParseIntError");