ExecStatus
enum ExecStatus
|
OK
|
Normal termination
|
|
MATHERR
|
Mathematical error (
e.g., division by zero)
|
|
ERROR
|
An error occurred during execution
|
|
IOERR
|
Input/output error (
e.g., cannot open file)
|
|
BREAK
|
Execution interrupted by breakpoint (debugger)
|
|
NIFCT
|
Native interface function error
|
|
NULLREF
|
Null reference error occurred
|
|
LICERR
|
Execution could not start due to license error
|
|
STOP
|
Bit set if execution was interrupted by
Model.stop
|
model.run()
if model.exec_status == mp.ExecStatus.OK:
print("Model executed successfully")
elif model.exec_status == mp.ExecStatus.ERROR:
print("Runtime error occurred")
© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
