Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:26

0001 //
0002 // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/url
0008 //
0009 
0010 #ifndef BOOST_URL_DETAIL_EXCEPT_HPP
0011 #define BOOST_URL_DETAIL_EXCEPT_HPP
0012 
0013 #include <boost/url/error_types.hpp>
0014 #include <boost/assert/source_location.hpp>
0015 
0016 namespace boost {
0017 namespace urls {
0018 namespace detail {
0019 
0020 BOOST_URL_DECL void BOOST_NORETURN
0021 throw_system_error(
0022     system::error_code const& ec,
0023     source_location const& loc =
0024         BOOST_URL_POS);
0025 
0026 BOOST_URL_DECL void BOOST_NORETURN
0027 throw_errc(
0028     boost::system::errc::errc_t ev,
0029     source_location const& loc =
0030         BOOST_URL_POS);
0031 
0032 //-----
0033 
0034 BOOST_URL_DECL void BOOST_NORETURN
0035 throw_invalid_argument(
0036     source_location const& loc =
0037         BOOST_URL_POS);
0038 
0039 BOOST_URL_DECL void BOOST_NORETURN
0040 throw_length_error(
0041     source_location const& loc =
0042         BOOST_URL_POS);
0043 
0044 } // detail
0045 } // urls
0046 } // boost
0047 
0048 #endif