pub fn sanitize_parse_error<E>(error: E) -> SanitizedErrorwhere E: Error + Display + Debug,
Sanitize parse error for safe external reporting