exceptions#
Exception classes for GAMSPy
- exception gamspy.exceptions.GamspyException(message: str, return_code: int | None = None)[source]#
Bases:
ExceptionPlain Gamspy exception.
- Parameters:
- messagestr
- return_codeint | None
- exception gamspy.exceptions.ValidationError[source]#
Bases:
ExceptionAn error while validating data.
- exception gamspy.exceptions.NeosException(message: str, return_code: int | None = None)[source]#
Bases:
GamspyExceptionNEOS Server execution exception
- exception gamspy.exceptions.LatexException(message: str, return_code: int | None = None)[source]#
Bases:
GamspyExceptionTo latex execution exception
- exception gamspy.exceptions.EngineException(message: str, return_code: int, status_code: int | None = None)[source]#
Bases:
GamspyExceptionGAMS Engine execution exception.
- Parameters:
- messagestr
- return_codeint
- status_codeint | None, optional