error-handler#
Handling AMPL Errors and Warnings: ErrorHandler in amplpy#
Notebooks > Handling AMPL Errors and Warnings: `ErrorHandler in amplpy <../notebooks/handling-ampl-errors-and-warnings-errorhandler-in-amplpy.html>`_
Description: Shows how to use amplpy.ErrorHandler and amplpy.AMPLException to intercept, filter, and route AMPL errors and warnings — covering default raise behaviour, custom recovery strategies, and logging integration.
Author: Jürgen Lentz (8 notebooks) <lentz@ampl.com>