NCAR / musica

Multi-Scale Infrastructure for Chemistry Modeling
https://wiki.ucar.edu/display/MUSICA/MUSICA+Home
Apache License 2.0
4 stars 2 forks source link

Add error handling for MUSICA interface #38

Closed boulderdaze closed 4 months ago

boulderdaze commented 11 months ago

Add error handling for MUSICA interface

Acceptance Criteria

Ideas Either:

Example error-handling function:

void HandleError(int error_code, int error_message_length, const char* error_message);

Then, a host application could register this function with MUSICA something like:

RegisterErrorHandler(HandleError);