mirror of
https://github.com/matrix-construct/construct
synced 2024-06-02 10:08:56 +02:00
ircd::net::dns: Improve exception message strings.
This commit is contained in:
parent
65d41d0093
commit
33cafcdfa9
|
@ -100,7 +100,7 @@ ircd::net::dns::resolve(const hostport &hp,
|
|||
if(unlikely(!opts.qtype))
|
||||
throw error
|
||||
{
|
||||
"A query type is required; not specified; cannot be deduced here."
|
||||
"Query type is required; not specified; cannot be deduced here."
|
||||
};
|
||||
|
||||
dns::callback handler
|
||||
|
@ -119,7 +119,7 @@ ircd::net::dns::resolve(const hostport &hp,
|
|||
if(unlikely(!opts.qtype))
|
||||
throw error
|
||||
{
|
||||
"A query type is required; not specified; cannot be deduced here."
|
||||
"Query type is required; not specified; cannot be deduced here."
|
||||
};
|
||||
|
||||
// Try to satisfy from the cache first. This requires a ctx.
|
||||
|
|
|
@ -174,7 +174,7 @@ ircd::net::dns::resolver::make_query(const mutable_buffer &buf,
|
|||
{
|
||||
case 0: throw error
|
||||
{
|
||||
"A query type is required to form a question."
|
||||
"Query type is required to form a question."
|
||||
};
|
||||
|
||||
case 33: // SRV
|
||||
|
|
Loading…
Reference in a new issue