Skip to main content

Module exception

Module exception 

Source
Expand description

POUNCE exceptions.

Mirrors Common/IpException.hpp. Ipopt uses inheritance to distinguish exception types and a DECLARE_STD_EXCEPTION macro to name them; we use a single SolverException struct carrying a kind: ExceptionKind enum.

The variant names are byte-identical to the upstream class names (TINY_STEP_DETECTED, RESTORATION_FAILED, …) so that ReportException formatting matches upstream when we eventually Display them.

Structs§

SolverException
A single exception value carrying kind + message + source location.

Enums§

ExceptionKind
All exception kinds Ipopt declares via DECLARE_STD_EXCEPTION in src/{Common,Algorithm,LinAlg,Interfaces,Apps}/. Names match upstream.