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 <bsoncxx/v1/exception-fwd.hpp> // IWYU pragma: export
#include <cstdint>
#include <system_error>
namespace bsoncxx {
namespace v_noabi {
enum class error_code : std::int32_t;
} // namespace v_noabi
} // namespace bsoncxx
namespace bsoncxx {
using v_noabi::error_code;
} // namespace bsoncxx
namespace std {
template <>
struct is_error_code_enum<bsoncxx::v_noabi::error_code>;
} // namespace std
exception-fwd.hpp
Declares bsoncxx error-handling utilities.
bsoncxx::v1::source_errc::bsoncxx
@ bsoncxx
From the bsoncxx library.
Definition exception.hpp:37
bsoncxx::v_noabi
Declares entities whose ABI stability is NOT guaranteed.
bsoncxx::v_noabi::error_code
error_code
Enum representing the various error types that can occur while operating on BSON values.
Definition error_code.hpp:36
bsoncxx
The top-level namespace within which all bsoncxx library entities are declared.