Searched refs:error_msg (Results 1 – 5 of 5) sorted by relevance
38 std::string error_msg = "Expected a field named '"; in ValidateField() local39 error_msg += field_name + "' of type '"; in ValidateField()40 error_msg += std::to_string(field_type); in ValidateField()41 error_msg += "'"; in ValidateField()43 error_msg += " in message of type '" + type + "'"; in ValidateField()45 error_msg += "."; in ValidateField()46 return CF_ERR(error_msg); in ValidateField()
30 void PrintHelpAndExit(const std::string& error_msg = "") { in PrintHelpAndExit() argument32 if (!error_msg.empty()) { in PrintHelpAndExit()33 std::cout << error_msg << "\n"; in PrintHelpAndExit()
99 self.error_msg = None135 self.error_msg = f'Caught an exception: {traceback.format_exc()}'145 if self.error_msg != None:146 sys.exit(self.error_msg)
94 const std::string error_msg = start_ack_msg.GetStatusMessage(); in PromptUserConfirmation() local95 if (error_msg == cuttlefish::confui::HostError::kMessageTooLongError) { in PromptUserConfirmation()99 if (error_msg == cuttlefish::confui::HostError::kIncorrectUTF8) { in PromptUserConfirmation()
106 void LogAndReplyError(const std::string& error_msg) const;