Display the error message in case of error.