Add error mode DELAYED_EXIT1 to collect all errors
This commit is contained in:
@@ -41,9 +41,9 @@ public:
|
||||
*/
|
||||
~ErrorGuard();
|
||||
void terminate() const;
|
||||
void dump() const;
|
||||
|
||||
private:
|
||||
void dump() const;
|
||||
|
||||
std::vector<std::pair<std::string, std::string>> error_list;
|
||||
std::vector<std::pair<std::string, std::string>> warning_list;
|
||||
|
||||
@@ -37,7 +37,8 @@ namespace Opm {
|
||||
THROW_EXCEPTION = 0,
|
||||
WARN = 1,
|
||||
IGNORE = 2,
|
||||
EXIT1 = 3
|
||||
EXIT1 = 3,
|
||||
DELAYED_EXIT1 = 4
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user