2 // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 // Official repository: https://github.com/boostorg/json
10 #ifndef BOOST_JSON_DETAIL_IMPL_EXCEPT_IPP
11 #define BOOST_JSON_DETAIL_IMPL_EXCEPT_IPP
13 #include <boost/json/detail/except.hpp>
14 #include <boost/version.hpp>
15 #include <boost/throw_exception.hpp>
24 source_location const& loc)
34 source_location const& loc)
37 std::length_error(what),
42 throw_invalid_argument(
44 source_location const& loc)
47 std::invalid_argument(what),
53 source_location const& loc)
64 source_location const& loc)