MCPcopy Create free account
hub / github.com/SoarGroup/Soar / AddErrorMsg

Function AddErrorMsg

Core/KernelSML/src/sml_KernelSML.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40void* KernelSML::s_hModule = NULL ;
41
42static soarxml::ElementXML* AddErrorMsg(Connection* pConnection, soarxml::ElementXML* pResponse, char const* pErrorMsg, int errorCode = -1)
43{
44 pConnection->AddErrorToSMLResponse(pResponse, pErrorMsg, errorCode) ;
45 return pResponse ;
46}
47
48/*************************************************************
49* @brief Creates the singleton kernel object.

Callers 3

InvalidArgMethod · 0.85
ProcessCommandMethod · 0.85
ProcessIncomingSMLMethod · 0.85

Calls 1

AddErrorToSMLResponseMethod · 0.80

Tested by

no test coverage detected