| Home | Libraries | People | FAQ | More

## Function old_failure

boost::contract::old_failure — Call failure handler for old values copied at body.

## Synopsis

    // In header: <boost/contract/core/exception.hpp>

    void old_failure(from where);

## Description

This is often called only internally by this library.

Throws: This can throw in case programmers specify a failure handler that throws exceptions on contract assertion failures (not the default).

See Also: Throw on Failure, Old Values Copied at Body

Parameters: |
`where` | Operation that failed the old value copy (e.g., this might be useful to program failure handler functors that never throw from destructors, not even when they are programmed by users to throw exceptions instead of terminating the program).