1/* Copyright 2023 Joaquin M Lopez Munoz.
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
5 *
6 * See https://www.boost.org/libs/unordered for library home page.
7 */
8
9#ifndef BOOST_UNORDERED_DETAIL_BAD_ARCHIVE_EXCEPTION_HPP
10#define BOOST_UNORDERED_DETAIL_BAD_ARCHIVE_EXCEPTION_HPP
11
12#include <stdexcept>
13
14namespace boost{
15namespace unordered{
16namespace detail{
17
18struct bad_archive_exception:std::runtime_error
19{
20 bad_archive_exception():std::runtime_error("Invalid or corrupted archive"){}
21};
22
23} /* namespace detail */
24} /* namespace unordered */
25} /* namespace boost */
26
27#endif
28

source code of boost/libs/unordered/include/boost/unordered/detail/bad_archive_exception.hpp