ErrorReturn }; void DbEnv::set_error_model(ErrorModel); #include <db_cxx.h>enum ErrorModel { Exception
Most methods in the Berkeley DB classes return an int but also throw an DbException object. This allows for two different error behaviors, that are known as error models. The errorModel argument is one of the following enumeration values: