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