pub fn format_error_with_hints(error: &Error) -> String
Format an error with its hints for display.
Returns a formatted string suitable for terminal output.