AMPLException#
- class amplpy.AMPLException(_impl)#
Represent an exception generated by AMPL.
- get_source_name()#
Get the name of the file where the error was detected.
- get_line_number()#
Get the row where the error is located.
- get_offset()#
Get the offset where the error is located.
- get_message()#
Get the error message.
- __str__()#
Return str(self).