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

Class type_error

plugins/debuggercommon/mi/mi.h:138–142  ·  view source on GitHub ↗

Exception that is thrown when we're trying to invoke an operation that is not supported by specific MI value. For example, trying to index a string literal. Such errors are conceptually the same as assert, but in GUI we can't use regular assert, and Q_ASSERT, which only prints a message, is not suitable either. We need to break processing, and the h

Source from the content-addressed store, hash-verified

136 useful information.
137 */
138 class type_error : public std::logic_error
139 {
140 public:
141 type_error();
142 };
143
144 /** Base class for all MI values.
145 MI values are of three kinds:

Callers 6

literalMethod · 0.85
toIntMethod · 0.85
hasFieldMethod · 0.85
mi.cppFile · 0.85
emptyMethod · 0.85
sizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected