#include <operation_exception.hpp>
mongocxx::operation_exception::operation_exception |
( |
std::error_code |
ec, |
|
|
bsoncxx::document::value && |
raw_server_error, |
|
|
std::string |
what_arg = "" |
|
) |
| |
Constructs a new operation exception.
- Parameters
-
ec | The error code associated with this exception. |
raw_server_error | The optional raw bson error document to be associated with this exception. |
what_arg | An optional message to be returned by what . |
The optional raw bson error document from the server.
- Returns
- The raw server error, if it is available.
The optional raw bson error document from the server.
- Returns
- The raw server error, if it is available.
The documentation for this class was generated from the following file: