pub fn draw_error(painter: &Painter, rect: Rect, color: Color32)
Draw an error icon (circle with “!”) within the given rect.