xpress.getlicerrmsg
xpress.getlicerrmsg |
Purpose
Returns the error message string describing the last licensing error, if any occurred.
Synopsis
m = xpress.getlicerrmsg()
Example
The following calls
getlicerrmsg to find out why the import of the Xpress Python module failed:
try:
import xpress
except RuntimeError:
print(xpress.getlicerrmsg())
else:
print("all good")
