aboutsummaryrefslogtreecommitdiff
path: root/src/net/error.h
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2020-12-06 16:59:08 -0500
committerLee Clagett <code@leeclagett.com>2020-10-07 15:43:31 +0000
commit386ef03be3c1e8b183a70b2fc7048fd6e8ca2f79 (patch)
tree04389a43b151da780af6685ab4d3894fdf060122 /src/net/error.h
parentMerge pull request #7068 (diff)
downloadmonero-386ef03be3c1e8b183a70b2fc7048fd6e8ca2f79.tar.xz
Add TLSA support to DNSSEC fetching
Diffstat (limited to 'src/net/error.h')
-rw-r--r--src/net/error.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/net/error.h b/src/net/error.h
index 7c852dd20..746eb0ecb 100644
--- a/src/net/error.h
+++ b/src/net/error.h
@@ -37,13 +37,16 @@ namespace net
enum class error : int
{
// 0 reserved for success (as per expect<T>)
- expected_tld = 1, //!< Expected a tld
+ bogus_dnssec = 1, //!< Invalid response signature from DNSSEC enabled domain
+ dns_query_failure, //!< Failed to retrieve desired DNS record
+ expected_tld, //!< Expected a tld
invalid_host, //!< Hostname is not valid
invalid_i2p_address,
+ invalid_mask, //!< Outside of 0-32 range
invalid_port, //!< Outside of 0-65535 range
invalid_tor_address,//!< Invalid base32 or length
unsupported_address,//!< Type not supported by `get_network_address`
- invalid_mask, //!< Outside of 0-32 range
+
};
//! \return `std::error_category` for `net` namespace.