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
17
#include <
bsoncxx/v1/detail/prelude.hpp
>
18
19
#include <
bsoncxx/v1/config/export.hpp
>
20
21
namespace
bsoncxx
{
22
namespace
v1
{
23
24
enum class
source_errc
;
25
26
enum class
type_errc
;
27
28
class
BSONCXX_ABI_EXPORT
exception
;
29
30
}
// namespace v1
31
}
// namespace bsoncxx
32
33
#include <
bsoncxx/v1/detail/postlude.hpp
>
34
export.hpp
Provides macros to control the set of symbols exported in the ABI.
BSONCXX_ABI_EXPORT
#define BSONCXX_ABI_EXPORT
Exports the associated entity as part of the ABI.
Definition
export.hpp:15
postlude.hpp
The bsoncxx v1 macro guard postlude header.
prelude.hpp
The bsoncxx v1 macro guard prelude header.
bsoncxx::v1::exception
Base class for all exceptions thrown by bsoncxx::v1.
Definition
exception.hpp:98
bsoncxx::v1
Declares entities whose ABI stability is guaranteed for documented symbols.
bsoncxx::v1::source_errc
source_errc
Enumeration identifying the source of a bsoncxx::v1 error.
Definition
exception.hpp:37
bsoncxx::v1::type_errc
type_errc
Enumeration identifying the type (cause) of a bsoncxx::v1 error.
Definition
exception.hpp:64
bsoncxx
The top-level namespace within which all bsoncxx library entities are declared.
bsoncxx
v1
exception-fwd.hpp
Generated by
1.15.0