Updated error message for generic error handling