Loading...
Searching...
No Matches
error_code-fwd.hpp
Go to the documentation of this file.
// Copyright 2009-present MongoDB, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#include <cstdint>
#include <system_error>
namespace mongocxx {
namespace v_noabi {
enum class error_code : std::int32_t;
} // namespace v_noabi
} // namespace mongocxx
namespace mongocxx {
using v_noabi::error_code;
} // namespace mongocxx
namespace std {
template <>
struct is_error_code_enum<mongocxx::v_noabi::error_code>;
} // namespace std
mongocxx::v1::source_errc::mongocxx
@ mongocxx
From the mongocxx library.
Definition exception.hpp:40
mongocxx::v_noabi
Declares entities whose ABI stability is NOT guaranteed.
mongocxx::v_noabi::error_code
error_code
Errors which may occur during mongocxx library usage.
Definition error_code.hpp:32
mongocxx
The top-level namespace within which all mongocxx library entities are declared.