26#ifndef MYSQL_HARNESS_RESOLVER_ERROR_CODE_H_
27#define MYSQL_HARNESS_RESOLVER_ERROR_CODE_H_
29#include <system_error>
31#include "harness_export.h"
noexcept
The return type for any call_and_catch(f, args...) call where f(args...) returns Type.
Definition: call_and_catch.h:76
ErrcResolveResult
Enumerates the possible outcomes of a hostname resolution.
Definition: error_code.h:42
@ NotFound
Deterministic negative outcome (NXDOMAIN, NODATA).
@ Success
Successful resolution with at least one IP address.
HARNESS_EXPORT const std::error_category & category() noexcept
Definition: error_code.cc:51
HARNESS_EXPORT std::error_code make_error_code(ErrcResolveResult) noexcept
Definition: error_code.cc:56
Define std::hash<Gtid>.
Definition: gtid.h:355