MCPcopy Create free account
hub / github.com/Kitware/CMake / Message

Class Message

Utilities/cmcppdap/include/dap/protocol.h:771–793  ·  view source on GitHub ↗

A structured message object. Used to return errors from requests.

Source from the content-addressed store, hash-verified

769
770// A structured message object. Used to return errors from requests.
771struct Message {
772 // A format string for the message. Embedded variables have the form `{name}`.
773 // If variable name starts with an underscore character, the variable does not
774 // contain user data (PII) and can be safely used for telemetry purposes.
775 string format;
776 // Unique (within a debug adapter implementation) identifier for the message.
777 // The purpose of these error IDs is to help extension authors that have the
778 // requirement that every user visible error message needs a corresponding
779 // error number, so that users or customer support can find information about
780 // the specific error more easily.
781 integer id;
782 // If true send to telemetry.
783 optional<boolean> sendTelemetry;
784 // If true show user.
785 optional<boolean> showUser;
786 // A url where additional information about this message can be found.
787 optional<string> url;
788 // A label that is presented to the user as the UI for opening the url.
789 optional<string> urlLabel;
790 // An object used as a dictionary for looking up the variables in the format
791 // string.
792 optional<object> variables;
793};
794
795DAP_DECLARE_STRUCT_TYPEINFO(Message);
796

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
PrintCommandTraceMethod · 0.85
ConfigureSubDirectoryMethod · 0.85
WarnFormFromFilenameMethod · 0.85
CheckOptionsMethod · 0.85
WriteObjectRuleFilesMethod · 0.85
CheckDefinitionMethod · 0.85
GenerateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…