Enhanced error messages handling and display.