GRBException::getErrorCode()

Retrieve the error code associated with a Gurobi exception.

int getErrorCode ( )

    Return value:

    The error code associated with the exception.