Initializing help system before first use

problem.getlasterror

problem.getlasterror


Purpose
Returns the error message corresponding to the last error triggered by a library function.
Synopsis
s = problem.getlasterror ()
Example
The following shows how this function might be used in error-checking:
p.solve ()
print ("Current error status:", p.getlasterror ())
Related topics