[gui][c] Improve error messages

3 jobs for 196_gui_kernel