pub fn error_to_problem(err: Error) -> Response
Map a framework crate::Error to Problem Details (API preset).
crate::Error