MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlWriterErrMsg

Function xmlWriterErrMsg

ThirdParty/libxml2/vtklibxml2/xmlwriter.c:122–134  ·  view source on GitHub ↗

* xmlWriterErrMsg: * @ctxt: a writer context * @error: the error number * @msg: the error message * * Handle a writer error */

Source from the content-addressed store, hash-verified

120 * Handle a writer error
121 */
122static void
123xmlWriterErrMsg(xmlTextWriterPtr ctxt, xmlParserErrors error,
124 const char *msg)
125{
126 if (ctxt != NULL) {
127 __xmlRaiseError(NULL, NULL, NULL, ctxt->ctxt,
128 NULL, XML_FROM_WRITER, error, XML_ERR_FATAL,
129 NULL, 0, NULL, NULL, NULL, 0, 0, "%s", msg);
130 } else {
131 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_WRITER, error,
132 XML_ERR_FATAL, NULL, 0, NULL, NULL, NULL, 0, 0, "%s", msg);
133 }
134}
135
136/**
137 * xmlWriterErrMsgInt:

Callers 15

xmlNewTextWriterFunction · 0.85
xmlNewTextWriterFilenameFunction · 0.85
xmlNewTextWriterMemoryFunction · 0.85
xmlNewTextWriterDocFunction · 0.85
xmlNewTextWriterTreeFunction · 0.85
xmlTextWriterEndDocumentFunction · 0.85
xmlTextWriterEndCommentFunction · 0.85

Calls 1

__xmlRaiseErrorFunction · 0.85

Tested by

no test coverage detected