MongoDB C++ Driver 4.2.0
Loading...
Searching...
No Matches
exception-fwd.hpp
Go to the documentation of this file.
1// Copyright 2009-present MongoDB, Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#pragma once
16
18
20
21namespace bsoncxx {
22namespace v1 {
23
24enum class source_errc;
25
26enum class type_errc;
27
29
30} // namespace v1
31} // namespace bsoncxx
32
34
Provides macros to control the set of symbols exported in the ABI.
#define BSONCXX_ABI_EXPORT
Exports the associated entity as part of the ABI.
Definition export.hpp:15
The bsoncxx v1 macro guard postlude header.
The bsoncxx v1 macro guard prelude header.
Base class for all exceptions thrown by bsoncxx::v1.
Definition exception.hpp:98
Declares entities whose ABI stability is guaranteed for documented symbols.
source_errc
Enumeration identifying the source of a bsoncxx::v1 error.
Definition exception.hpp:37
type_errc
Enumeration identifying the type (cause) of a bsoncxx::v1 error.
Definition exception.hpp:64
The top-level namespace within which all bsoncxx library entities are declared.