Skip to content

Commit

Permalink
error_types.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Aug 18, 2022
1 parent 29d89ab commit c292584
Show file tree
Hide file tree
Showing 37 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion include/boost/url.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <boost/url/authority_view.hpp>
#include <boost/url/error.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/host_type.hpp>
#include <boost/url/ipv4_address.hpp>
#include <boost/url/ipv6_address.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_ERROR_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <stdexcept>

namespace boost {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// Official repository: https://github.com/CPPAlliance/url
//

#ifndef BOOST_URL_ERROR_TYPE_HPP
#define BOOST_URL_ERROR_TYPE_HPP
#ifndef BOOST_URL_ERROR_TYPES_HPP
#define BOOST_URL_ERROR_TYPES_HPP

#include <boost/url/detail/config.hpp>
#include <boost/system/error_code.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/dec_octet_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_GRAMMAR_DEC_OCTET_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>

namespace boost {
namespace urls {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/detail/tuple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define BOOST_URL_GRAMMAR_DETAIL_TUPLE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/detail/empty_value.hpp>
#include <boost/mp11/algorithm.hpp>
#include <boost/mp11/function.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_GRAMMAR_ERROR_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>

namespace boost {
namespace urls {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/literal_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_GRAMMAR_LITERAL_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/string_view.hpp>
#include <cstdlib>

Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/not_empty_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_GRAMMAR_NOT_EMPTY_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/grammar/type_traits.hpp>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/optional_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <boost/url/detail/config.hpp>
#include <boost/url/optional.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/assert.hpp>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/parse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_GRAMMAR_PARSE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/string_view.hpp>
#include <boost/url/grammar/type_traits.hpp>

Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/token_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <boost/url/detail/config.hpp>
#include <boost/url/grammar/charset.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/string_view.hpp>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/tuple_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_GRAMMAR_TUPLE_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/grammar/error.hpp>
#include <boost/url/grammar/detail/tuple.hpp>
#include <boost/mp11/algorithm.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_GRAMMAR_TYPE_TRAITS_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/grammar/detail/type_traits.hpp>
#include <boost/type_traits/make_void.hpp>
#include <type_traits>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/unsigned_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define BOOST_URL_GRAMMAR_UNSIGNED_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/grammar/charset.hpp>
#include <boost/url/string_view.hpp>
#include <boost/static_assert.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/grammar/variant_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_GRAMMAR_VARIANT_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/variant.hpp>
#include <boost/url/grammar/detail/tuple.hpp>

Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/ipv4_address.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <boost/url/detail/config.hpp>
#include <boost/url/error.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/string_view.hpp>
#include <string>
#include <array>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/ipv6_address.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <boost/url/detail/config.hpp>
#include <boost/url/error.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/string_view.hpp>
#include <array>
#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/absolute_uri_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_ABSOLUTE_URI_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/url_view.hpp>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/authority_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <boost/url/detail/config.hpp>
#include <boost/url/authority_view.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>

namespace boost {
namespace urls {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/detail/h16_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_DETAIL_H16_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <cstdint>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/detail/host_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <boost/url/string_view.hpp>
#include <boost/url/ipv4_address.hpp>
#include <boost/url/ipv6_address.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>

namespace boost {
namespace urls {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/detail/ip_literal_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <boost/url/detail/config.hpp>
#include <boost/url/ipv6_address.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/string_view.hpp>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/detail/ipvfuture_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifndef BOOST_URL_RFC_DETAIL_IPVFUTURE_RULE_HPP
#define BOOST_URL_RFC_DETAIL_IPVFUTURE_RULE_HPP

#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/string_view.hpp>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/detail/port_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_DETAIL_PORT_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/string_view.hpp>
#include <cstdint>

Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/detail/relative_part_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_DETAIL_RELATIVE_PART_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/pct_encoded_view.hpp>
#include <boost/url/rfc/authority_rule.hpp>
#include <boost/url/grammar/range_rule.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/detail/scheme_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_DETAIL_SCHEME_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/scheme.hpp>
#include <boost/url/string_view.hpp>

Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/detail/userinfo_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_DETAIL_USERINFO_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/pct_encoded_view.hpp>
#include <boost/url/string_view.hpp>

Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/ipv4_address_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <boost/url/detail/config.hpp>
#include <boost/url/ipv4_address.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>

namespace boost {
namespace urls {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/ipv6_address_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <boost/url/detail/config.hpp>
#include <boost/url/ipv6_address.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>

namespace boost {
namespace urls {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/pct_encoded_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <boost/url/detail/config.hpp>
#include <boost/url/pct_encoded_view.hpp>
#include <boost/url/pct_encoding.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/string_view.hpp>
#include <boost/url/grammar/charset.hpp>
#include <boost/url/grammar/error.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/query_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_QUERY_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/params_encoded_view.hpp>
#include <boost/url/query_param.hpp>
#include <cstddef>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/relative_ref_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_RELATIVE_REF_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/url_view.hpp>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/uri_reference_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_URI_REFERENCE_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/url_view.hpp>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/url/rfc/uri_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define BOOST_URL_RFC_URI_RULE_HPP

#include <boost/url/detail/config.hpp>
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>
#include <boost/url/url_view.hpp>

namespace boost {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set(BOOST_URL_TESTS_FILES
doc_container.cpp
doc_grammar.cpp
error.cpp
error_type.cpp
error_types.cpp
grammar.cpp
host_type.cpp
ipv4_address.cpp
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local SOURCES =
../../extra/test_main.cpp
authority_view.cpp
error.cpp
error_type.cpp
error_types.cpp
grammar.cpp
host_type.cpp
ipv4_address.cpp
Expand Down
2 changes: 1 addition & 1 deletion test/unit/error_type.cpp → test/unit/error_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
//

// Test that header file is self-contained.
#include <boost/url/error_type.hpp>
#include <boost/url/error_types.hpp>

0 comments on commit c292584

Please sign in to comment.