Changeset 84857 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jun 17, 2020 7:46:06 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138676
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestCtrlPrivate.cpp
r84843 r84857 1313 1313 #ifndef VBOX_GUESTCTRL_TEST_CASE 1314 1314 /** 1315 * Convenience function to return a pre-formatted string using an action description and a guest error information. 1316 * 1317 * @returns Pre-formatted string with a user-friendly error string. 1318 * @param strAction Action of when the error occurred. 1319 * @param guestErrorInfo Related guest error information to use. 1320 */ 1321 /* static */ Utf8Str GuestBase::getErrorAsString(const Utf8Str& strAction, const GuestErrorInfo& guestErrorInfo) 1322 { 1323 Assert(strAction.isNotEmpty()); 1324 return Utf8StrFmt("%s: %s", strAction.c_str(), getErrorAsString(guestErrorInfo).c_str()); 1325 } 1326 1327 /** 1315 1328 * Returns a user-friendly error message from a given GuestErrorInfo object. 1316 1329 *
Note:
See TracChangeset
for help on using the changeset viewer.