Skip to content

AEvaluationLoopException#

Indicates an evaluation loop.

Header:#include <AUI/Util/AEvaluationLoopException.h>
CMake:aui_link(my_target PUBLIC aui::core)

Detailed Description#

AEvaluationLoopException is thrown by aui::lazy and therefore by APropertyPrecomputed.

The condition under which AEvaluationLoopException is thrown is when there's an attempt to read from or access a property during its own value evaluation. This creates an infinite evaluation loop, leading the system to throw this exception to prevent potential stack overflow and unresponsiveness due to continuous evaluations.