26#include <system_error>
86BSONCXX_PRIVATE_WARNINGS_PUSH();
87BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4251));
88BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4275));
100 using std::system_error::system_error;
106BSONCXX_PRIVATE_WARNINGS_POP();
112struct std::is_error_condition_enum<
bsoncxx::v1::source_errc> : true_type {};
115struct std::is_error_condition_enum<
bsoncxx::v1::type_errc> : true_type {};
Provides macros to control the set of symbols exported in the ABI.
#define BSONCXX_ABI_NO_EXPORT
Excludes the associated entity from being part of the ABI.
Definition export.hpp:20
#define BSONCXX_ABI_EXPORT_CDECL(...)
Equivalent to BSONCXX_ABI_EXPORT with BSONCXX_ABI_CDECL.
Definition export.hpp:52
The bsoncxx v1 macro guard postlude header.
The bsoncxx v1 macro guard prelude header.
Declares bsoncxx error-handling utilities.
Base class for all exceptions thrown by bsoncxx::v1.
Definition exception.hpp:98
Declares entities whose ABI stability is guaranteed for documented symbols.
std::error_category const & type_error_category()
The error category for bsoncxx::v1::type_errc.
std::error_condition make_error_condition(source_errc code)
Support implicit conversion to std::error_condition.
Definition exception.hpp:55
source_errc
Enumeration identifying the source of a bsoncxx::v1 error.
Definition exception.hpp:37
@ bson
From the bson library.
Definition exception.hpp:40
@ zero
Zero.
Definition exception.hpp:38
type_errc
Enumeration identifying the type (cause) of a bsoncxx::v1 error.
Definition exception.hpp:64
@ runtime_error
An erroneous condition was detected at runtime.
Definition exception.hpp:67
@ invalid_argument
An invalid argument passed to the throwing function.
Definition exception.hpp:66
std::error_category const & source_error_category()
The error category for bsoncxx::v1::source_errc.
The top-level namespace within which all bsoncxx library entities are declared.