There are several approaches that a C++ program could take to deal with error conditions as they occur.