Try our new documentation site (beta).
Filter Content By
Version
Text Search
Table of contents
Filter by Language
C API Details
C++ API Details
Java API Details
.NET API Details
Python API Details
Attributes
GRBgeterrormsg
char * | GRBgeterrormsg ( | GRBenv | *env ) |
Retrieve the error message associated with the most recent error that occurred in an environment.
Return value:
A string containing the error message.
Arguments:
env: The environment in which the error occurred.
Example usage:
error = GRBgetintattr(model, "DOES_NOT_EXIST", &attr); if (error) printf("%s\n", GRBgeterrormsg(env));








