MCPcopy Index your code
hub / github.com/MapServer/MapServer / msWriteErrorXML

Function msWriteErrorXML

maperror.c:362–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362void msWriteErrorXML(FILE *stream)
363{
364 char *message;
365 errorObj *ms_error = msGetErrorObj();
366
367 while (ms_error && ms_error->code != MS_NOERR)
368 {
369 message = msEncodeHTMLEntities(ms_error->message);
370
371 msIO_fprintf(stream, "%s: %s %s\n", ms_error->routine,
372 ms_errorCodes[ms_error->code], message);
373 ms_error->isreported = MS_TRUE;
374 ms_error = ms_error->next;
375
376 msFree(message);
377 }
378}
379
380void msWriteErrorImage(mapObj *map, char *filename, int blank) {
381 imageObj *img;

Callers 4

writeErrorFunction · 0.85
msWCSExceptionFunction · 0.85
msWMSExceptionFunction · 0.85
msWFSExceptionFunction · 0.85

Calls 4

msGetErrorObjFunction · 0.85
msEncodeHTMLEntitiesFunction · 0.85
msIO_fprintfFunction · 0.85
msFreeFunction · 0.85

Tested by

no test coverage detected