AMPLException

class amplpy.AMPLException(_impl)

Represent an exception generated by AMPL.

__init__(_impl)
getSourceName()

Get the name of the file where the error was detected.

getLineNumber()

Get the row where the error is located.

getOffset()

Get the offset where the error is located.

getMessage()

Get the error message.

__module__ = 'amplpy.exceptions'
__weakref__

list of weak references to the object (if defined)