This file is indexed.

/usr/include/measurement_kit/ooni/error.hpp is in libmeasurement-kit-dev 0.7.1-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Part of measurement-kit <https://measurement-kit.github.io/>.
// Measurement-kit is free software. See AUTHORS and LICENSE for more
// information on the copying conditions.
#ifndef MEASUREMENT_KIT_OONI_ERROR_HPP
#define MEASUREMENT_KIT_OONI_ERROR_HPP

#include <measurement_kit/common.hpp>

namespace mk {
namespace ooni {

MK_DEFINE_ERR(MK_ERR_OONI(0), CannotReadAnyInputFileError,
              "cannot_read_any_input_file")
MK_DEFINE_ERR(MK_ERR_OONI(1), MissingRequiredInputFileError,
              "missing_required_input_file")
MK_DEFINE_ERR(MK_ERR_OONI(2), MissingCollectorBaseUrlError,
              "missing_collector_base_url")
MK_DEFINE_ERR(MK_ERR_OONI(3), CannotOpenReportError, "cannot_open_report")
MK_DEFINE_ERR(MK_ERR_OONI(4), MissingMandatoryKeyError, "missing_mandatory_key")
MK_DEFINE_ERR(MK_ERR_OONI(5), InvalidMandatoryValueError,
              "invalid_mandatory_value")
MK_DEFINE_ERR(MK_ERR_OONI(6), MissingRequiredHostError, "missing_required_host")
MK_DEFINE_ERR(MK_ERR_OONI(7), MissingRequiredUrlError, "missing_required_url")
MK_DEFINE_ERR(MK_ERR_OONI(8), GeoipDatabaseOpenError,
              "cannot_open_geoip_database")
MK_DEFINE_ERR(MK_ERR_OONI(9), GeoipCountryCodeLookupError,
              "cannot_find_country_code")
MK_DEFINE_ERR(MK_ERR_OONI(10), GeoipCountryNameLookupError,
              "cannot_find_country_name")
MK_DEFINE_ERR(MK_ERR_OONI(11), GeoipCityLookupError, "cannot_find_city")
MK_DEFINE_ERR(MK_ERR_OONI(12), GeoipAsnLookupError, "cannot_find_asn")
MK_DEFINE_ERR(MK_ERR_OONI(13), CannotGetResourcesVersionError,
              "cannot_get_resources_version")
MK_DEFINE_ERR(MK_ERR_OONI(14), CannotGetResourcesManifestError,
              "cannot_get_resources_manifest")
MK_DEFINE_ERR(MK_ERR_OONI(15), CannotGetResourceError, "cannot_get_resource")
MK_DEFINE_ERR(MK_ERR_OONI(16), ResourceIntegrityError,
              "resource_checksum_failed")
MK_DEFINE_ERR(MK_ERR_OONI(17), BouncerCollectorNotFoundError,
              "bouncer_missing_collector")
MK_DEFINE_ERR(MK_ERR_OONI(18), BouncerTestHelperNotFoundError,
              "bouncer_missing_test_helper")
MK_DEFINE_ERR(MK_ERR_OONI(19), BouncerInvalidRequestError,
              "bouncer_invalid_request")
MK_DEFINE_ERR(MK_ERR_OONI(20), BouncerGenericError, "bouncer_generic_error")
MK_DEFINE_ERR(MK_ERR_OONI(21), BouncerValueNotFoundError,
              "bouncer_value_not_found")
MK_DEFINE_ERR(MK_ERR_OONI(22), HttpRequestError, "http_request_error")
MK_DEFINE_ERR(MK_ERR_OONI(23), RegexSearchError, "regex_search_error")
MK_DEFINE_ERR(MK_ERR_OONI(24), RegistryWrongUsernamePasswordError,
              "registry_wrong_username_password")
MK_DEFINE_ERR(MK_ERR_OONI(25), RegistryMissingUsernamePasswordError,
              "registry_missing_username_password")
MK_DEFINE_ERR(MK_ERR_OONI(26), MissingAuthenticationTokenError,
              "missing_authentication_token")
MK_DEFINE_ERR(MK_ERR_OONI(27), MissingRequiredValueError,
              "missing_required_value")
MK_DEFINE_ERR(MK_ERR_OONI(28), RegistryInvalidRequestError,
              "registry_invalid_request")
MK_DEFINE_ERR(MK_ERR_OONI(29), RegistryEmptyClientIdError,
              "registry_empty_client_id")

} // namespace mk
} // namespace ooni
#endif