MongoDB C++ Driver 4.2.0
Loading...
Searching...
No Matches
exception.hpp File Reference

Description

Provides mongocxx error-handling utilities.

Go to the source code of this file.

Classes

class  mongocxx::v1::exception
 Base class for all exceptions thrown by mongocxx::v1. More...

Namespaces

namespace  mongocxx
 The top-level namespace within which all mongocxx library entities are declared.
namespace  mongocxx::v1
 Declares entities whose ABI stability is guaranteed for documented symbols.

Enumerations

enum class  mongocxx::v1::source_errc
 Enumeration identifying the source of a mongocxx::v1 error. More...
enum class  mongocxx::v1::type_errc
 Enumeration identifying the type (cause) of a mongocxx::v1 error. More...

Functions

std::error_condition mongocxx::v1::make_error_condition (source_errc code)
 Support implicit conversion to std::error_condition.
std::error_condition mongocxx::v1::make_error_condition (type_errc code)
 Support implicit conversion to std::error_condition.
std::error_category const & mongocxx::v1::source_error_category ()
 The error category for mongocxx::v1::source_errc.
std::error_category const & mongocxx::v1::type_error_category ()
 The error category for mongocxx::v1::type_errc.