Adjust error message formatting for better presentation.