How to get the error message using the C API

3 views
Skip to first unread message

Herbert M Sauro

unread,
Oct 31, 2018, 3:01:16 PM10/31/18
to libsbml-development
I'm trying to figure out how to get the error message from libSBML using the C API. I can get the number of errors, there is also printErrors and the C++ API has getShortMessage and getStandardMessage but I couldn't find anything similar in the C API. I'd rather not use printError as I'll have to open a file handle and then read the message back in from the file. In the past I've built a C interface routine that calls the C++ API, but if there is a more direct way I'd rather use that.

Herbert Sauro


Reply all
Reply to author
Forward
0 new messages