Blame view

3rdparty/boost_1_81_0/boost/url/detail/except.hpp 1.01 KB
0b6a182c   Hu Chunming   添加无鉴权注册和注销
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
  //
  // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
  //
  // Distributed under the Boost Software License, Version 1.0. (See accompanying
  // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  //
  // Official repository: https://github.com/boostorg/url
  //
  
  #ifndef BOOST_URL_DETAIL_EXCEPT_HPP
  #define BOOST_URL_DETAIL_EXCEPT_HPP
  
  #include <boost/url/error_types.hpp>
  #include <boost/assert/source_location.hpp>
  
  namespace boost {
  namespace urls {
  namespace detail {
  
  BOOST_URL_DECL void BOOST_NORETURN
  throw_system_error(
      error_code const& ec,
      source_location const& loc =
          BOOST_URL_POS);
  
  BOOST_URL_DECL void BOOST_NORETURN
  throw_errc(
      errc::errc_t ev,
      source_location const& loc =
          BOOST_URL_POS);
  
  //-----
  
  BOOST_URL_DECL void BOOST_NORETURN
  throw_invalid_argument(
      source_location const& loc =
          BOOST_URL_POS);
  
  BOOST_URL_DECL void BOOST_NORETURN
  throw_length_error(
      source_location const& loc =
          BOOST_URL_POS);
  
  } // detail
  } // urls
  } // boost
  
  #endif