MCPcopy Create free account
hub / github.com/KDE/kdevelop / errorMessage

Method errorMessage

plugins/debuggercommon/mi/mi.h:356–360  ·  view source on GitHub ↗

* @return the error message of an error record * * @pre isReasonError() is @c true */

Source from the content-addressed store, hash-verified

354 * @pre isReasonError() is @c true
355 */
356 [[nodiscard]] QString errorMessage() const
357 {
358 Q_ASSERT(isReasonError());
359 return (*this)[QStringLiteral("msg")].literal();
360 }
361
362 uint32_t token = 0;
363 QString reason;

Callers 4

handleMethod · 0.45
handleTargetAttachMethod · 0.45
defaultErrorHandlerMethod · 0.45

Calls 1

literalMethod · 0.80

Tested by

no test coverage detected