mavtables  0.2.1
MAVLink router and firewall.
Public Member Functions | List of all members
DNSLookupError Class Reference

#include <DNSLookupError.hpp>

Inheritance diagram for DNSLookupError:
Inheritance graph
Collaboration diagram for DNSLookupError:
Collaboration graph

Public Member Functions

 DNSLookupError (std::string url)
 
const char * what () const noexcept
 

Detailed Description

Exception type emitted when a DNS lookup fails.

Definition at line 28 of file DNSLookupError.hpp.

Constructor & Destructor Documentation

◆ DNSLookupError()

DNSLookupError::DNSLookupError ( std::string  url)

Construct a DNSLookupError given the unresolvable URL.

Parameters
urlThe URL that could not be resolved.

Definition at line 27 of file DNSLookupError.cpp.

Member Function Documentation

◆ what()

const char * DNSLookupError::what ( ) const
noexcept

Return error message string.

Returns
Error string containing unresolvable hostname.

Definition at line 38 of file DNSLookupError.cpp.


The documentation for this class was generated from the following files: